A one-page reference for the most common DataRobot CLI commands.
Manage your DataRobot credentials and connection settings. See the auth command documentation for detailed information.
# ⭐ Set DataRobot URL (interactive)
dr auth set-url
# Set DataRobot URL directly
dr auth set-url https://app.datarobot.com
# ⭐ Log in (opens browser)
dr auth login
# Log out
dr auth logout
# Check authentication status
dr auth checkDiscover, clone, and configure application templates. See the template system documentation for detailed information.
# List available templates
dr templates list
# ⭐ Interactive setup wizard (recommended)
dr templates setupManage environment variables and .env files for your templates. See the dotenv command documentation and environment variables guide for detailed information.
# ⭐ Interactive environment setup
dr dotenv setup
# ⭐ Edit environment variables
dr dotenv edit
# Update DataRobot credentials
dr dotenv update
# Validate environment configuration
dr dotenv validateExecute tasks defined in your application templates. See the run command documentation and start command documentation for detailed information.
# ⭐ Quickstart (automated initialization)
dr start
# Quickstart (non-interactive)
dr start --yes
# List available tasks
dr run --list
dr task list
# ⭐ Run development server
dr run dev
# Run specific tasks
dr run build
dr run test
dr run lint
# Run multiple tasks in parallel
dr run lint test --parallel
# Run with watch mode
dr run dev --watchStep-by-step guides for typical tasks.
# 1. Authenticate
dr auth set-url https://app.datarobot.com
dr auth login
# 2. Set up template
dr templates setup
# 3. Start application
cd [template-name]
dr start# Navigate to project
cd my-template
# Start development server
dr run dev
# Run tests
dr run test
# Update environment variables
dr dotenv edit# Re-authenticate
dr auth login
# Update .env file
dr dotenv updateManage the CLI itself: version, updates, and completions. See the self command documentation for detailed information.
# Show version
dr --version
dr self version
# Update CLI
dr self update
# Enable shell completions
dr self completion install [bash|zsh|fish|powershell]
# ⭐ Show help
dr --help
dr [command] --helpUseful flags that work with multiple commands. See the global flags documentation for complete details.
# Verbose output
dr --verbose [command]
# Debug output
dr --debug [command]
# Skip confirmation prompts
dr start --yes
dr run [task] --yes
# List tasks
dr run --list
# Run tasks in parallel
dr run --parallel [task1] [task2]
# Custom config file
dr --config /path/to/config.yaml [command]Important files and where to find them. See the configuration files documentation for detailed information about file locations and management.
| File/Directory | Location |
|---|---|
| Config file | ~/.config/datarobot/drconfig.yaml |
| State file | .datarobot/cli/state.yaml (in template directory) |
| Environment file | .env (in template directory) |
| Environment template | .env.template (in template directory) |
Find help and debug issues. See Getting help in the main README for additional resources.
# General help
dr --help
# Command-specific help
dr auth --help
dr templates --help
dr run --help
# Enable verbose output
dr --verbose [command]
# Enable debug output
dr --debug [command]- Full command reference - Complete command documentation
- User guide - Detailed usage guides
- Quick start - Step-by-step setup instructions