Installation
Install the Doku CLI on macOS, Linux, or Windows (WSL). The CLI is the primary interface for configuring, deploying, and managing your applications.
System Requirements
- Runtime: Node.js 18+ or Bun 1.0+
- Version control: Git 2.20+
- Operating system: macOS, Linux, or Windows via WSL2
Install Methods
Install globally via npm. This is the recommended method if you already have Node.js installed.
bash
npm install -g @doku/cliVerify Installation
Confirm Doku is installed correctly by checking the version:
bash
doku --version
# doku/1.4.2 linux-x64 node-v20.11.0Update
Keep Doku up to date to get the latest features and security patches.
bash
npm update -g @doku/cliIf you installed via Homebrew: brew upgrade doku
Uninstall
bash
npm uninstall -g @doku/cliIf you installed via Homebrew: brew uninstall doku. The curl install script places the binary at /usr/local/bin/doku — remove it with rm /usr/local/bin/doku.