Install and Set Up the CLI

Installation

Install the Roboflow CLI via pip:

pip install roboflow

The CLI is bundled with the roboflow Python package.

Authentication

After installation, authenticate with your Roboflow API key:

roboflow login

This will prompt you to enter your API key. You can find your API key in your Roboflow workspace settings.

Alternatively, set the ROBOFLOW_API_KEY environment variable:

export ROBOFLOW_API_KEY=your_api_key_here