Installation
koda is a single static binary with no runtime dependencies. Install it from a package manager if you have one, or run the installer script, which builds from source and will offer to install Rust first if it is missing.
Package managers
Section titled “Package managers”brew tap simpletoolsindia/koda # once, everbrew install kodaAfter the tap, the short name is all you need — brew install koda,
brew upgrade koda, brew uninstall koda. The formula installs the prebuilt
binary for your platform (macOS and Linux, Intel and ARM), so it is a download
rather than a build, and it brings
ripgrep with it for the fast path in
koda’s search.
On Homebrew 6 and newer, a third-party tap has to be trusted once before it can
be loaded. If you see Refusing to load formula ... from untrusted tap:
brew trust simpletoolsindia/kodaThen tap and install as above. Older Homebrew does not ask.
The manifest is submitted to the winget community repository and under review. Once it is merged, this is the whole installation:
winget install kodakoda is a portable package there: winget unpacks koda.exe into its own links
directory and puts that on your PATH, so there is nothing to click through and
winget uninstall koda removes it cleanly.
Until it merges, take the binary straight from the
latest release —
koda-<version>-x86_64-pc-windows-msvc.zip, unzip it, and put koda.exe
somewhere on your PATH. The installer script below does the same thing from
source.
The installers
Section titled “The installers”Clone and run the script for an interactive menu — install, install system-wide, update, uninstall:
git clone https://github.com/simpletoolsindia/koda.git && cd koda./install.shOr take the one-liner, which clones for you:
curl -fsSL https://raw.githubusercontent.com/simpletoolsindia/koda/master/install.sh | bashIt installs to ~/.local/bin, so no sudo is needed. For a system-wide install:
PREFIX=/usr/local ./install.shOn macOS the installer re-signs the copied binary so Gatekeeper does not kill it.
PowerShell, with an interactive menu. It adds koda to your user PATH.
git clone https://github.com/simpletoolsindia/koda.git; cd koda.\install.ps1Or the one-liner:
irm https://raw.githubusercontent.com/simpletoolsindia/koda/master/install.ps1 | iexIt installs to %LOCALAPPDATA%\koda\bin. Override the location with -Prefix.
Anything with Rust 1.82 or newer:
git clone https://github.com/simpletoolsindia/koda.git && cd kodacargo build --releasecp target/release/koda ~/.local/bin/On Windows, copy to %LOCALAPPDATA%\koda\bin; on a system-wide Unix install,
/usr/local/bin.
A packager who wants the smaller binary can drop the document readers:
cargo build --release --no-default-featuresThat removes PDF, Word and Excel parsing, which account for about 1.4 MB.
The two optional extras
Section titled “The two optional extras”At the end of an interactive install you are asked about two programs. koda needs neither of them to run.
| Extra | What it buys you | If you decline |
|---|---|---|
ripgrep |
Faster search across large projects. |
koda’s in-process search is used instead. |
tesseract |
Offline OCR, so a screenshot reaches a model with no vision. | Set ocr_model to a vision model instead — see Files, images & OCR. |
Both are a single [Y/n] prompt. When the installer is piped (curl … | bash) it has no
terminal to ask at, so both are skipped without one.
Building a different branch
Section titled “Building a different branch”The installers build master. To build something else, either check it out and
run the script from the checkout, or name it:
KODA_BRANCH=my-branch ./install.shVerify it worked
Section titled “Verify it worked”koda --versionkoda config # the effective configuration, after every layer is appliedIf koda is not found, the bin directory is not on your PATH. The installer prints the
exact line to add to your shell profile; on macOS and Linux that is usually:
export PATH="$HOME/.local/bin:$PATH"Updating and removing
Section titled “Updating and removing”Re-run ./install.sh and pick update from the menu — it pulls the branch you are on
and rebuilds. Uninstall removes the binary. Your configuration
(~/.config/koda/config.toml) and per-project data (<project>/.koda/) are left alone;
delete those by hand if you want them gone.