Druk ships as a single self-contained executable. There is no runtime to install alongside it — no Node.js, no Bun, no shared libraries to manage. Pick the installation method that suits your workflow and you will have aDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/letstri/druk/llms.txt
Use this file to discover all available pages before exploring further.
druk binary ready to run.
Install
- curl (recommended)
- npm
- bun
- Homebrew
- Direct download
The fastest way to get Druk on macOS or Linux is the official install script. It detects your platform, downloads the correct binary, places it in
~/.druk/bin, and adds that directory to your PATH.Install options
The curl installer accepts several flags when you need more control:| Option | Effect |
|---|---|
--version <version> | Install a specific release instead of the latest (e.g. 1.0.1). |
--no-modify-path | Download and place the binary without touching any shell config files. |
Where Druk installs
The curl installer places the binary at:export PATH line (or a fish_add_path call for Fish) to your shell config so the binary is on your PATH automatically in every new session.
Upgrading
Rundruk update to upgrade to the latest release, regardless of how Druk was originally installed:
| Install method | Upgrade command run |
|---|---|
| Homebrew | brew upgrade letstri/tap/druk |
| curl installer | curl -fsSL https://druk.letstri.dev/install | bash |
| npm | npm install -g druk@latest |
| pnpm | pnpm add -g druk@latest |
| yarn | yarn global add druk@latest |
| bun | bun add -g druk@latest |
| deno | deno add -g npm:druk@latest |
npm install -g druk on a Homebrew install — can place a second copy of Druk in a different directory. druk update avoids this by always running the correct command for the detected install.