Installation
Homebrew (macOS / Linux)
Section titled “Homebrew (macOS / Linux)”brew tap Codestz/kraitbrew install kraitFrom Source (Rust 1.85+)
Section titled “From Source (Rust 1.85+)”cargo install krait-cliPre-built Binaries
Section titled “Pre-built Binaries”Download from Releases.
Language Servers
Section titled “Language Servers”Krait auto-installs language servers on first use. To pre-install:
# TypeScript / JavaScript (vtsls — recommended)npm install -g @vtsls/language-server
# Gogo install golang.org/x/tools/gopls@latest
# Rust (comes with rustup)rustup component add rust-analyzerC/C++ uses clangd, which ships with LLVM — install it via your system package manager.
Verifying the Install
Section titled “Verifying the Install”krait --versionkrait statusIf krait starts the daemon and prints status, you’re ready.