# Manage Versions

You can list, inspect, and export dataset versions from the command line.

## List Versions

```bash
roboflow version list -p <project>
```

Example:

```bash
roboflow version list -p my-detector
```

```
ID                              NAME              IMAGES  CREATED
my-workspace/my-detector/1      raw               100     2024-01-15
my-workspace/my-detector/2      augmented-640     300     2024-01-20
my-workspace/my-detector/3      augmented-416     250     2024-02-01
```

## Get Version Details

```bash
roboflow version get -p <project> <version-number>
```

Or use resource shorthand:

```bash
roboflow version get my-detector/3
roboflow version get my-workspace/my-detector/3
```

## Export a Version

Trigger an async export of a version in a specific format:

```bash
roboflow version export -p <project> <version-number> -f <format>
```

Example:

```bash
roboflow version export -p my-detector 3 -f yolov8
```

## JSON Output

All version commands support `--json`:

```bash
roboflow version list -p my-detector --json
```

```json
[
  {
    "id": "my-workspace/my-detector/1",
    "name": "raw",
    "images": 100,
    "created": "2024-01-15T00:00:00"
  }
]
```
