DataRobot CLI overview¶
DataRobot CLI(dr)は、ターミナルからDataRobotを操作するためのオープンソースツールです。 DataRobotのUIからすべてを行うのではなく、繰り返し利用でき、スクリプト化が可能なワークフローを求める開発者や運用担当者向けに設計されています。
CLIの用途¶
CLIは以下の用途に使用します。
- DataRobotのインスタンス(クラウドまたはセルフマネージド)に対して認証を行い、ローカルで資格情報を管理します。
- アプリケーションテンプレートを操作します。 テンプレートから構築されたプロジェクトの閲覧、クローン作成、設定を行います。テンプレートにプロンプトや環境変数が定義されている場合は、対話型のセットアップも利用できます。
- ローカル開発タスクを実行します。 テンプレートで想定されているのと同じタスクベースのワークフロー(例:
dr run dev、dr run build、dr run test)を実行して、マシンの環境をアプリ本来の構築および実行方法に一致させます。 - エージェント型AIのワークフローをサポートします。
dr startやdr task runなどのコマンドを使用して、エージェント指向の設定を初期化し、実行します。
CLIは、あらゆるタスクにおいてDataRobotのWebアプリケーションに取って代わるものではありません。ターミナルインターフェイスが最適であるローカル開発、テンプレート駆動型アプリ、および自動化(CI/CDを含む)に重点を置いています。
一般的なワークフロー¶
多くのユーザーは、次のような流れで操作します。
- ワークスペースに
drをインストールします(クイックインストールまたはスタートアップガイド全体を参照してください)。 - CLIで環境を指定し、サインインします(認証管理を参照してください){ target=_blank }。
- アプリケーションテンプレートから構築する場合、テンプレートをクローン作成または設定します(テンプレートの操作を参照してください)。
- 開発時に、そのプロジェクトに定義されたタスク(
dr task list、dr run)を実行します。
エージェント型AIのワークフローを構築する場合、エージェント型AIのクイックスタートで、dr startおよびdr task runの操作手順を最初から最後まで詳しく説明しています。
次のステップ¶
| 次の操作を行う場合… | ここから開始 |
|---|---|
| 初めてCLIをインストールして設定する | 使用を開始する |
| 説明なしでコマンドを調べる | Quick reference |
テンプレートのレイアウトと.envの挙動を理解する |
Template system |
| コマンドごとの詳細を確認する | コマンドリファレンス(以下) |
Building agentic workflows?
The CLI is used to set up, run, and deploy Agentic AI workflows. See the Agentic AI quickstart to get started with dr start and dr task run.
Quick install¶
Install the latest version with a single command that auto-detects your operating system:
macOS/Linux:
#¶
curl https://cli.datarobot.com/install | sh
Windows (PowerShell):
#¶
irm https://cli.datarobot.com/winstall | iex
For more installation options, see Getting Started.
Documentation structure¶
User guide¶
End-user documentation for using the CLI:
- Getting started—installation and initial setup.
- Quick reference—one-page command and path reference.
- Authentication—setting up DataRobot credentials.
- Working with templates—clone and manage application templates.
- Shell completions—set up command auto-completion.
- Configuration files—understanding config file structure.
- Troubleshooting—common issues and where to find solutions.
Template system¶
Understanding the interactive template configuration:
- Template structure—how templates are organized.
- Interactive configuration—the wizard system explained.
- Environment variables—managing .env files.
Command reference¶
コマンドリファレンスには、すべてのdrコマンド、グローバルフラグ、およびdr startとdr runの使い分けに関するガイダンスに加えて、各トピックへのリンクが記載されています。 一般的なエントリーポイント:
- auth—authentication management.
- run—task execution.
- dotenv—environment variable management.
- self—CLI utility commands (version, completion).
Development guide¶
For contributors and developers:
- Building from source—compile and build the CLI.
- Development setup—local development environment.
- Project structure—codebase organization.
- Releasing—release process.
サポートについて¶
If you can't find what you're looking for:
- Search existing issues.
- Open a new issue.
- Email: oss-community-management@datarobot.com.