Druk is a terminal-native code editor that ships as a single self-contained binary — no Node.js, no Bun, nothing else to install. It brings the essentials of a modern editor into any terminal: a file tree, tabbed editing, tree-sitter syntax highlighting for 30+ languages, project-wide search, git integration, LSP diagnostics and completions, vim mode, and 26 built-in color themes.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.
Installation
Install via curl, npm, bun, or Homebrew on macOS, Linux, and Windows.
Quickstart
Open your first project and start editing in under a minute.
Keyboard Shortcuts
Every key binding at a glance — or press F1 inside Druk to search them.
Configuration
Themes, tab size, vim mode, formatters, and per-project overrides.
What Druk Includes
Syntax Highlighting
Tree-sitter grammars for TypeScript, Python, Rust, Go, and 25+ more.
Git Integration
Diff gutter marks, source-control panel, commit, push, and branch ops.
Project Search
Find across the whole project with regex, case, and whole-word toggles.
LSP Support
Diagnostics, inline problem text, and autocompletion via language servers.
Vim Mode
Normal, insert, and visual modes with motions, operators, and counts.
Themes
26 themes including Catppuccin, Dracula, Tokyo Night, and Rosé Pine.
Get Running in 60 Seconds
Navigate and edit
Use
↑ ↓ in the file tree, Enter to open files, Tab to move to the editor, and Ctrl+S to save.npx druk and bunx druk work without installing anything — useful for trying Druk in a CI environment or on a machine you don’t own.