| title | Installation |
|---|---|
| nav_order | 2 |
| permalink | /installation/ |
{: .no_toc }
- TOC {:toc}
- Go 1.27.1+ if building from source
- Git for cloning the repository (and for portable stores)
- A GitHub token for any command that talks to GitHub (
sync,refresh) - An OpenAI API key for
summarize,embed, and the embedding stage ofrefresh ghCLI optional, used by gitcrawl only as a token source viagh auth token
gitcrawl runs on macOS 13 Ventura or newer and Linux. Windows is not actively tested.
CrawlKit v0.16.6 requires Go 1.27, so source and Docker builds use Go 1.27.1 or newer. Go 1.27 also raises the minimum macOS version for newly built binaries to macOS 13; the previous Go 1.26 build baseline no longer applies.
brew install openclaw/tap/gitcrawlHomebrew installs the gitcrawl binary. GitHub CLI shim behavior moved to Octopool.
Each GitHub release includes archives for darwin_amd64, darwin_arm64, linux_amd64, and linux_arm64 built via GoReleaser.
Official macOS archives are signed as org.openclaw.gitcrawl by Developer ID Application: OpenClaw Foundation (FWJYW4S8P8); local source and snapshot builds do not require signing credentials.
# Replace VERSION and PLATFORM with the values you want.
VERSION=v0.10.0
PLATFORM=darwin_arm64
mkdir -p "$HOME/bin"
curl -L "https://github.com/openclaw/gitcrawl/releases/download/${VERSION}/gitcrawl_${VERSION#v}_${PLATFORM}.tar.gz" \
| tar -xz -C "$HOME/bin" gitcrawl
gitcrawl --versionBrowse the releases page for the latest tag and the full asset list. Use a directory that is already on your PATH; ~/bin and ~/.local/bin avoid needing elevated permissions.
gitcrawl check-update
gitcrawl check-update --jsonInteractive terminal runs perform a cached daily release check and print a
stderr notice when a newer OpenClaw release is available. Scripted, JSON, CI,
and non-TTY runs skip the passive notice. Set GITCRAWL_NO_UPDATE_CHECK=1 or
CRAWLKIT_NO_UPDATE_CHECK=1 to disable it.
git clone https://github.com/openclaw/gitcrawl.git
cd gitcrawl
go build \
-ldflags "-X github.com/openclaw/gitcrawl/internal/cli.version=$(git describe --tags --always --dirty)" \
-o bin/gitcrawl ./cmd/gitcrawl
./bin/gitcrawl --versionSymlink or copy bin/gitcrawl somewhere on your PATH (~/bin, /usr/local/bin, ~/.local/bin).
For a metrics-only source deployment alongside an existing portable subscriber,
use an isolated versioned metrics runtime
and verify it with metrics status and its separate config. Keep the subscriber's
binary selection and refresh job unchanged.
Source builds use scalar vector scoring by default. Set GOEXPERIMENT=simd on
go build to enable Go 1.27's experimental portable SIMD kernels for clustering
and exact neighbors. The API may change in Go 1.28; unsupported hardware and
GODEBUG=simd=0 use the scalar kernels. Release archives and Docker builds enable
this SIMD path.
gitcrawl gh moved to Octopool:
octopool login
octopool gh api repos/openclaw/openclaw/pulls/123See the gh shim guide for migration details.
gitcrawl init # creates config and data under platform default paths
gitcrawl doctor # confirms config, database, and credential discovery
gitcrawl doctor --json # same, machine-readabledoctor reports whether GITHUB_TOKEN and OPENAI_API_KEY are present, where they came from, the version, repository count, and the last sync timestamp. If anything is missing, the message tells you which env var or config field to set.
- Release archives: download the new tarball and replace the binary.
- Source builds:
git pull && go build ...— the version string comes fromgit describe. - Configuration is forward-compatible. Existing
config.tomlandgitcrawl.dbfiles are reused across versions; no migration step is needed for normal point releases. Existing~/.config/gitcrawl/config.tomlinstalls continue to load from that path until the new platform config path exists.