Roboflow Docs
DashboardResourcesProducts
  • Documentation
  • Developer Reference
  • Changelog
  • Developer Tools
  • Authentication
  • Command Line Interface (CLI)
    • Using the CLI
    • Installation and Authentication
    • Download dataset
    • Upload Dataset
    • Run inference
    • Getting help
  • REST API
    • REST API Structure
    • Workspace and Project IDs
    • Workspaces
  • Workspace Image Query
  • Projects
    • Initialize
    • Project Folders API
    • Create
  • Batches
  • Annotation Jobs
  • Images
    • Upload Images
    • Image Details
    • Upload Dataset
    • Upload an Annotation
    • Search
    • Tags
  • Versions
    • Create a Project Version
    • View a Version
  • Train a Model
  • Export Data
  • Inference
  • Annotation Insights
    • Annotation Insights (Legacy Endpoint)
  • Model Monitoring
    • Stats
    • Custom Metadata
  • Python SDK
    • Using the Python SDK
  • iOS SDK
    • Using the iOS SDK
Powered by GitBook
On this page

Was this helpful?

  1. Command Line Interface (CLI)

Download dataset

PreviousInstallation and AuthenticationNextUpload Dataset

Last updated 15 hours ago

Was this helpful?

If your project has a saved version, you can download the images+annotations for that version using the command line.

Command to download:

roboflow download -f <format> -l <download-location> <datasetUrl>

where:

  • <format> is one of the supported dataset formats (like voc, yolov9, darknet, etc). See roboflow download --help for the full list of supported formats.

  • <download-location> is the local path to download the thing in your computer

  • <datasetUrl> is the path to locate the dataset version on roboflow: <workspaceId>/<projectId>/<versionNumber>. Which, in the example above, would be tonyprivate/hand-gestures-fsph8/1

So a concrete example would be:

roboflow download -f voc -l ./my-dataset tonyprivate/hand-gestures-fsph8/1

And you can also use the same command to download datasets publicly available on roboflow universe, like

roboflow download -f voc -l ./chess-dataset joseph-nelson/chess-pieces-new/25
Joseph's chess dataset