# theme versions

> List a theme listing's versions, newest first, drafts and withdrawn ones included.

Source: https://storeware.ai/docs/cli/commands/theme-versions

```bash
npx @storeware/cli theme versions <slug> [flags]
```

## Arguments

| Argument | Required | What it is |
| --- | --- | --- |
| `<slug>` | Yes | The listing, by its address. |

## Flags

| Flag | What it does |
| --- | --- |
| `--json` | Print the versions as JSON, for a script. |

## Examples

```bash
npx @storeware/cli theme versions harbour
```

More in [Publish a theme](https://storeware.ai/docs/themes/selling). Every command also takes the [flags on the reference page](https://storeware.ai/docs/cli/commands#flags-every-command-takes).
