# CLI

> CLI - Guides and references for using and developing the DataRobot CLI tool.

This Markdown file sits beside the HTML page at the same path (with a `.md` suffix). It summarizes the topic and lists links for tools and LLM context.

Companion generated at `2026-08-05T05:57:34.479248+00:00` (UTC).

## Primary page

- [CLI](https://docs.datarobot.com/en/docs/agentic-ai/cli/index.html.md): Full documentation for this topic (Markdown sidecar).

## Sections on this page

- [Quick links](https://docs.datarobot.com/en/docs/agentic-ai/cli/index.html.md#quick-links): In-page section heading.
- [For setup](https://docs.datarobot.com/en/docs/agentic-ai/cli/index.html.md#for-setup): In-page section heading.
- [For templates](https://docs.datarobot.com/en/docs/agentic-ai/cli/index.html.md#for-templates): In-page section heading.
- [For agentic workflows](https://docs.datarobot.com/en/docs/agentic-ai/cli/index.html.md#for-agentic-workflows): In-page section heading.
- [For developers](https://docs.datarobot.com/en/docs/agentic-ai/cli/index.html.md#for-developers): In-page section heading.
- [Key features documented](https://docs.datarobot.com/en/docs/agentic-ai/cli/index.html.md#key-features-documented): In-page section heading.
- [Shell completions](https://docs.datarobot.com/en/docs/agentic-ai/cli/index.html.md#shell-completions): In-page section heading.
- [Template system](https://docs.datarobot.com/en/docs/agentic-ai/cli/index.html.md#template-system): In-page section heading.
- [Interactive configuration](https://docs.datarobot.com/en/docs/agentic-ai/cli/index.html.md#interactive-configuration): In-page section heading.
- [Environment management](https://docs.datarobot.com/en/docs/agentic-ai/cli/index.html.md#environment-management): In-page section heading.
- [Getting started](https://docs.datarobot.com/en/docs/agentic-ai/cli/index.html.md#getting-started): In-page section heading.

## Related documentation

- [Agentic AI](https://docs.datarobot.com/en/docs/agentic-ai/index.html.md): Linked from this page.
- [Get started](https://docs.datarobot.com/en/docs/agentic-ai/cli/getting-started.html.md): Linked from this page.
- [Quick reference](https://docs.datarobot.com/en/docs/agentic-ai/cli/quick-reference.html.md): Linked from this page.
- [Shell completions](https://docs.datarobot.com/en/docs/agentic-ai/cli/shell-completions.html.md): Linked from this page.
- [Configuration](https://docs.datarobot.com/en/docs/agentic-ai/cli/configuration.html.md): Linked from this page.
- [DataRobot experimentation plugin](https://docs.datarobot.com/en/docs/agentic-ai/cli/experimentation-plugin.html.md): Linked from this page.
- [Troubleshooting](https://docs.datarobot.com/en/docs/agentic-ai/agent-assist/troubleshooting.html.md): Linked from this page.
- [Template structure](https://docs.datarobot.com/en/docs/agentic-ai/cli/template-system/structure.html.md): Linked from this page.
- [Interactive configuration](https://docs.datarobot.com/en/docs/agentic-ai/cli/template-system/interactive-config.html.md): Linked from this page.
- [Environment variables](https://docs.datarobot.com/en/docs/agentic-ai/cli/template-system/environment-variables.html.md): Linked from this page.
- [Agentic quickstart](https://docs.datarobot.com/en/docs/agentic-ai/agentic-develop/agentic-quickstart.html.md): Linked from this page.
- [Develop agentic workflows](https://docs.datarobot.com/en/docs/agentic-ai/agentic-develop/index.html.md): Linked from this page.
- [Building from source](https://docs.datarobot.com/en/docs/agentic-ai/cli/development/building.html.md): Linked from this page.
- [Development setup](https://docs.datarobot.com/en/docs/agentic-ai/cli/development/setup.html.md): Linked from this page.
- [Project structure](https://docs.datarobot.com/en/docs/agentic-ai/cli/development/structure.html.md): Linked from this page.
- [Releasing](https://docs.datarobot.com/en/docs/agentic-ai/cli/development/releasing.html.md): Linked from this page.

## Documentation content

This guide provides a comprehensive overview of all available documentation for the DataRobot CLI. The CLI (Command Line Interface) enables you to interact with DataRobot from your terminal, providing powerful automation capabilities for managing projects, templates, and workflows.

## Quick links

### For setup

Essential guides to get you started with the DataRobot CLI:

- Get started : Installation and initial setup
- Quick reference : One-page command and path reference
- Shell completions : Set up command auto-completion for your shell
- Configuration : Understand and manage config files
- DataRobot experimentation plugin : Visualize tracing and run data in a local dashboard
- Troubleshooting : Common issues and where to find solutions

### For templates

Learn how to work with the template system:

- Template structure : Understand how templates work
- Interactive configuration : Overview of the configuration wizard
- Environment variables : Manage .env files

### For agentic workflows

Building or deploying AI agents with DataRobot templates:

- Agentic AI : Create and evaluate agentic workflows
- Agentic quickstart : Set up and run agents with dr start and dr task run
- Develop agentic workflows : Installation, customization, tools, and deployment

### For developers

Resources for contributing and building:

- Building from source : Compile and build the CLI from source
- Development setup : Local development environment
- Project structure : Codebase organization
- Releasing : Release process

## Key features documented

### Shell completions

Comprehensive documentation for setting up [auto-completion in multiple shells](https://docs.datarobot.com/en/docs/agentic-ai/cli/shell-completions.html.md):

- Bash (Linux and macOS)
- Zsh
- Fish
- PowerShell

### Template system

A detailed explanation of the template system including:

- Template repository structure
- .datarobot/prompts.yaml format
- Interactive configuration wizard
- Conditional prompts and sections
- Multi-level configuration

### Interactive configuration

In-depth coverage of the [interactive configuration system](https://docs.datarobot.com/en/docs/agentic-ai/cli/template-system/interactive-config.html.md):

- Bubble Tea architecture
- Prompt types (text, selection, multi-select)
- Conditional logic with sections
- State management
- Keyboard controls
- Advanced features

### Environment management

A complete guide to managing [environment variables](https://docs.datarobot.com/en/docs/agentic-ai/cli/template-system/environment-variables.html.md):

- .env vs .env.template
- Variable types (required, optional, secret)
- Interactive wizard
- Security best practices
- Common patterns

## Getting started

If you're new to the DataRobot CLI, start here:

1. Installation and setup : Get the CLI installed and configured
2. Shell completions : Enable command auto-completion for faster workflows
3. Configuration : Understand how to configure the CLI for your environment
