Herkos / Docs / Install

Install

Herkos is a single Go binary. Install it with go install, or clone the repo and build from source.

Prerequisites

Install with go install

This pulls the latest tagged build and drops the herkos binary in your $GOBIN (usually $HOME/go/bin).

$ go install github.com/akhilesharora/herkos/cmd/herkos@latest

Make sure $GOBIN (or $HOME/go/bin) is on your PATH, then confirm the binary runs:

$ herkos status

Build from source

Clone the repo and use the Makefile. make build wraps go build ./....

$ git clone https://github.com/akhilesharora/herkos.git
$ cd herkos
$ make build

Useful make targets

TargetWhat it runs
make buildgo build ./...
make racego test ./... -race
make lintgolangci-lint run
make checkbuild + vet + race + lint
make verify-cleanbuild, vet, and race the committed tree (HEAD) from a throwaway worktree
Verify before you trust it

This is a security tool. Build it from source, read the diff, run make check, and decide for yourself. Local-first means you do not have to take anyone's word for what the binary does.

Next

With the binary on your path, head to the quickstart to generate a key and put Herkos in front of an MCP server.