# Quick reference
URL: https://docs.datarobot.com/en/docs/agentic-ai/cli/quick-reference.html

> One-page reference for common DataRobot CLI commands and paths.

# Quick reference

## Quick reference

One-page reference for the most common DataRobot CLI ( `dr`) commands and paths.

## Installation

```
# macOS/Linux
curl https://cli.datarobot.com/install | sh

# Windows (PowerShell)
irm https://cli.datarobot.com/winstall | iex
```

## Authentication

```
dr auth set-url https://app.datarobot.com   # or 1=US, 2=EU, 3=JP
dr auth login
dr auth logout
```

## Templates

```
dr templates list
dr templates setup
dr templates clone <name> [directory]
dr templates status
```

## Running applications

```
dr start                    # Quickstart or setup wizard
dr task list                # List tasks
dr run dev                  # Run dev task
dr run build
dr run test
```

## Environment

```
dr dotenv setup
dr dotenv edit
dr dotenv validate
dr dotenv update
```

## CLI self-management

```
dr --version
dr self version
dr self update
dr self config
dr self completion bash | sudo tee /etc/bash_completion.d/dr
```

## Global flags

| Flag | Description |
| --- | --- |
| -v, --verbose | Verbose output |
| --debug | Debug output (creates dr-tui-debug.log) |
| --skip-auth | Skip authentication (advanced) |
| --force-interactive | Force setup wizard to run again |
| -h, --help | Help |

## Config and state paths

| Platform | Config file |
| --- | --- |
| Linux/macOS | ~/.config/datarobot/drconfig.yaml |
| Windows | %USERPROFILE%\.config\datarobot\drconfig.yaml |

| Location | Purpose |
| --- | --- |
| .datarobot/cli/state.yaml | Template state (per template directory) |

## See also

- Getting started
- Command reference
- Configuration
- Troubleshooting

---
