CLI · Setup
Install
The Dock CLI runs anywhere Node.js 18+ runs. Three install paths: zero-install via npx, global via package manager, or Homebrew on macOS. Pick whichever fits your workflow.
Without installing anything
Easiest. Works the first time, no global pollution:
npx @trydock/cli@latest --helpEvery command in this book works with npx @trydock/cli as the prefix. We'll just write dock in examples; substitute as needed.
Global install (npm)
npm install -g @trydock/cli
dock --versionNow dock is on your PATH. Updates require npm update -g @trydock/cli.
Global install (pnpm / yarn)
# pnpm
pnpm add -g @trydock/cli
# yarn
yarn global add @trydock/climacOS — Homebrew
brew install try-dock-ai/tap/dock
dock --versionAuto-updates with brew upgrade.
Windows
npm path works (Node.js for Windows installer ships with npm). For PowerShell users, the dock binary lands at %APPDATA%\npm\dock.cmd. WSL users follow the Linux path.
From source
Open issues against the CLI live at github.com/try-dock-ai/cli. Build locally:
git clone https://github.com/try-dock-ai/cli.git
cd cli
pnpm install
pnpm build
node ./dist/cli.js --helpVerify the install
dock --version
# v0.5.0+
dock --helpWhat's next
- Authentication — sign in to your account.
- First steps — your first workspace, your first row.
- Commands — full command catalog.