Skip to main content

Documentation 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 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 a druk binary ready to run.

Install

Install options

The curl installer accepts several flags when you need more control:
curl -fsSL https://druk.letstri.dev/install | bash -s -- --version 1.0.1
OptionEffect
--version <version>Install a specific release instead of the latest (e.g. 1.0.1).
--no-modify-pathDownload and place the binary without touching any shell config files.

Where Druk installs

The curl installer places the binary at:
~/.druk/bin/druk
It then appends an 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

Run druk update to upgrade to the latest release, regardless of how Druk was originally installed:
druk update
Druk detects which installation method was used by inspecting the path of the running executable, then runs the appropriate upgrade command and prints it before executing:
Install methodUpgrade command run
Homebrewbrew upgrade letstri/tap/druk
curl installercurl -fsSL https://druk.letstri.dev/install | bash
npmnpm install -g druk@latest
pnpmpnpm add -g druk@latest
yarnyarn global add druk@latest
bunbun add -g druk@latest
denodeno add -g npm:druk@latest
Running the wrong upgrade command for your install method — for example, 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.

Verification

Confirm everything is working:
druk --version
You should see the installed version number printed to stdout.

Build docs developers (and LLMs) love