Install the CLI
The CLI publishes files and folders from your terminal, and gives agents like Claude Code and Codex a simple way to use Dockito. It’s in beta: commands may still change.
Run it
Section titled “Run it”It needs Node.js 18.17 or newer. Run it with npx:
npx dockito@beta --helpOr install it once:
npm install -g dockito@betadockito --helpOn a Mac or Linux with Homebrew, without Node.js:
brew install dockito-ai/tap/dockitobrew upgrade dockito gets the newest version.
Sign in
Section titled “Sign in”dockito loginIt prints a code and opens your browser. Check that the code matches, choose what this login may do in each workspace (View, Publish or Everything) and approve. On a machine without a browser, dockito login --no-browser prints the link to open elsewhere.
The token is kept in your system’s keychain, or in a file only you can read where there’s no keychain.
dockito whoami # who you are, and what this login can reachdockito tree # every workspace, project and folder you can publish todockito logout # sign this machine outIn CI and scripts
Section titled “In CI and scripts”Make a personal token in Account → Tokens and set it as DOCKITO_TOKEN. The CLI uses it instead of a login.
DOCKITO_TOKEN=dkt_… dockito publish CHANGELOG.md --to handbookFor agents
Section titled “For agents”The CLI keeps nothing but your login: no config files, nothing written into your repo. Where docs go is passed with --to every time. Every command takes --json, and dockito agent prints what an AI agent needs to know.
See CLI commands for everything it does.