CLI

The DataRobot CLI (dr) is the primary interface for App Framework users. It is a standalone binary installable on macOS, Linux, and Windows.
Install
Primary docs: cli.datarobot.com Developer docs: cli.datarobot.com/dev-docs
Why it exists
The CLI solves two core problems:
-
Onboarding friction — Getting credentials, configuring environments, and starting application development used to require multiple stops across multiple websites and manual file editing. The CLI makes this a single guided experience.
-
Monorepo complexity — Full application template solutions involve multiple languages, task managers, and configuration systems. The CLI provides a unified interface with tab completion across all of them.
Core commands
| Command | What it does |
|---|---|
dr auth set-url |
Configure your DataRobot endpoint. |
dr dotenv setup |
Interactive environment setup wizard. |
dr component add NAME |
Add a component to your recipe. |
dr run dev |
Start the local development server with hot reload. |
dr task deploy |
Deploy all infrastructure to DataRobot. |
dr task infra:info |
Show deployed resource IDs and resource URLs. |
dr task infra:down |
Tear down deployed infrastructure. |