CLI
Background
DoiT provides a command-line interface (CLI) for interacting with the DoiT API directly from your terminal. The dci CLI is a standalone binary that dynamically generates commands from the DoiT API, handles authentication, and supports multiple output formats.
This documentation covers:
- Installing the CLI on macOS, Windows, and Linux
- Shell completion setup
- Authentication via OAuth or API token
- Command discovery and usage patterns
- Output formats and scripting
- A full, generated command reference (available via the sidebar)
Download and install
Install the dci binary using one of the methods below.
macOS (Homebrew)
brew install doitintl/dci-cli/dci
Windows (WinGet)
winget install DoiT.dci
Windows (Scoop)
scoop bucket add doitintl https://github.com/doitintl/dci-cli
scoop install dci