Kirsch docs menu

Kirsch documentation · v0.1.5

Getting started

The shortest path from nothing to a running Kirsch.

You need a Mac or a Linux machine (amd64 or arm64), git on your PATH, and an API key for the default provider, OpenCode Go. Windows is not supported.

1. Download a release

Release archives are on the releases page. Set VERSION to the release number without the leading v (the current release is 0.1.5), and set OS and ARCH for your machine. OS is darwin or linux; ARCH is amd64 or arm64.

VERSION=<version>
OS=darwin
ARCH=arm64
ARCHIVE="kirsch_${VERSION}_${OS}_${ARCH}.tar.gz"

curl -fLO "https://github.com/djm56/kirsch/releases/download/v${VERSION}/${ARCHIVE}"
curl -fLO "https://github.com/djm56/kirsch/releases/download/v${VERSION}/kirsch_${VERSION}_checksums.txt"

2. Check the download

Check the archive against the checksum file before you unpack it.

On macOS:

grep -F "${ARCHIVE}" "kirsch_${VERSION}_checksums.txt" | shasum -a 256 -c -

On Linux:

grep -F "${ARCHIVE}" "kirsch_${VERSION}_checksums.txt" | sha256sum -c -

The line should end in OK. If it ends in FAILED, the download is damaged or incomplete. Download it again, and do not run it.

3. Unpack it and put it on your PATH

tar -xzf "${ARCHIVE}"
mkdir -p ~/.local/bin
mv kirsch ~/.local/bin/
kirsch --version

Make sure ~/.local/bin is on your PATH. A release binary prints its release version, such as kirsch 0.1.1. Other places to put it are on the Install page.

4. Set your API key

The default provider is opencode, and it reads its key from OPENCODE_API_KEY. Replace the placeholder with your own key:

export OPENCODE_API_KEY="<your-opencode-key>"

Add the line to your shell's startup file if you want it set in every session. Never put an API key in a config file. To use Anthropic instead, see Set up a provider and model.

5. Check the install

Inside a project folder that is a Git repository:

cd /path/to/your/project
kirsch doctor

Fix any fail line before you go on. A warn line does not stop Kirsch. The kirsch doctor checks page explains every line.

6. Start Kirsch

From inside the repository:

kirsch
Kirsch start screen showing the KIRSCH title, version line, provider notice and the typing line with its placeholder text
The start screen. Taken on a pre-release build, so it shows the version as v0.1.0-dev.

Type a request and press Enter. Kirsch reads and searches your code, and asks before it changes a file or runs a command that needs approval: press y to approve, n to reject, or d to see the detail first. Quit with /quit.

Next

These pages describe Kirsch v0.1.5. Source: the doc folder for v0.1.5 on GitHub · releases.