Skip to content
Kavachकवच

Install

Also known as: setup download get started build from source toolchain rustup cargo

● Beginner5 minBefore this: The Terminal

One clone, one build. A single-command installer comes with the first public release.

Kavach is young and moves fast, so today you build it from source. You need Rust (Kavach's compiler is written in it) and git. Windows, Linux and WSL all work.

terminal
git clone https://github.com/Mithlesh04/kavach
cd kavach
cargo build --release -p kavach-cli

The build takes a few minutes, once. The program lands at target/release/kavach: add that folder to your PATH, and kavach works in every terminal.

Your editor

The VS Code extension in editors/vscode adds colors, errors as you type, and go-to-definition.

Check yourself

QUIZ 1 / 1pick one
You wrote hello.kav. Which command runs it?