Install¶
gald3r is a single compiled binary (gald3r_core, implemented in Go) that runs the same way
on Windows, macOS, and Linux. This page covers every supported install path, in the order you
should try them.
Which path should I use?¶
| You are... | Use |
|---|---|
| Trying gald3r for the first time, don't want to build anything | Signed binary and per-OS installers |
| A contributor, or want the latest unreleased code | From source with Go |
Already have gald3r installed and want to upgrade |
Upgrading an existing install |
| Setting up a whole new machine for team use | From source, then gald3r onboard |
1. Signed binary and per-OS installers (recommended — works today)¶
Download the package for your system and its SHA256SUMS from Gald3r 6.0.0. For projects staying on V5, download V5.1.5.
| System | Install Gald3r 6.0.0 |
|---|---|
| Windows x64 | Download the ZIP and Python helper together. With Python 3.12 or later, run python gald3r-install-windows.py --file gald3r-6.0.0-windows-amd64.zip --sha256 0bae5ef11d8f2c8c068c686f459aed181dcb0213f914d9eee16449095a523d8e. Open a fresh terminal. |
| macOS on Apple silicon | Verify the checksum, then open gald3r-6.0.0-darwin-arm64.pkg. The signed and notarized installer requests administrator approval. |
| Linux x86-64 | Verify the checksum, then run tar xzf gald3r-6.0.0-linux-amd64.tar.gz. Add the extracted suite directory to PATH. |
Run gald3r --version after installation. The stable release reports build 2026-12-02f. Download packages and SHA256SUMS.
Check gald3r --version. From a new project run gald3r setup --platform claude or gald3r setup --platform cursor. For an existing v5 board follow the upgrade guide.
2. From source (Go) — for contributors¶
Users should install the signed binaries above. This path exists for people contributing to
gald3r_core itself — the source repository is private, so building from source requires
being granted access first. If you just want to use gald3r, you do not need this section at
all.
gald3r is implemented as Go modules across several repositories (gald3r.ai/cli and its supporting modules). A small
Python layer remains for IDE lifecycle hooks, build/release tooling, and this documentation site, but the CLI itself
is a native Go binary you build with the standard Go toolchain.
Prerequisites¶
- Access granted to the private source repository (request it from the team)
- Go 1.26+ (see
go.workfor the exact toolchain version this repo pins) - Git
uv, only if you also want to build this documentation site or run the Python-based release tooling
Build the CLI¶
git clone <the private source repository URL you were granted access to>
# From the root of your CLI checkout with its Go workspace configured:
go build -o bin/gald3r ./cli/code_go/gald3r/go_code/cmd/gald3r
./bin/gald3r --version
On Windows, build bin/gald3r.exe the same way; go build produces a native binary with no
Python runtime dependency. A fresh, unstamped build reports its honest development version
rather than a real release number:
> go build -o bin/gald3r.exe ./cli/code_go/gald3r/go_code/cmd/gald3r
> ./bin/gald3r.exe --version
gald3r version 0.0.1-dev
schema/rel version: 3.0.0
build: <commit> (<timestamp>) [+dirty]
The signed release binaries (above) stamp a real version number at build time; a local from-source build intentionally does not claim one it hasn't earned.
Make gald3r reachable from any project¶
Building only puts the binary at the output path you gave go build. To run gald3r from a
project of your own (not the source checkout itself), pick one:
- Add that output directory to your
PATH, then restart your terminal/IDE fully — a process already running when you editPATHwon't see the change. - Invoke the binary by its full path from inside your own project directory.
- Run everything through
gald3r ...from inside the source checkout and pass--dir <path>(or a verb's own--root/--project-rootflag, where one exists) to target a different project.
Building this documentation site¶
The docs site (this one) is built with MkDocs, kept in an opt-in Python extra so a routine Go build stays fast and dependency-free:
uv sync --extra docs
uv run mkdocs build --strict
3. Per-platform IDE integration (CRASH overlay)¶
Once gald3r itself is installed, gald3r setup (or gald3r onboard) scaffolds .gald3r/
in your project. Separately, gald3r platform install writes ONE platform's IDE overlay
(commands/skills/agents/rules — the CRASH files an IDE like Claude Code, Cursor, or Copilot
actually reads) into your project:
gald3r platform list # see the full supported platform roster
gald3r platform install claude # writes .claude/ into the current directory
gald3r platform install cursor # writes .cursor/ into the current directory
Real output, run against a scratch project:
> gald3r platform install claude --into .
platform install claude: wrote 633 file(s) into <path>
+ release marker: .claude/.gald3r_overlay.json
+ version stamp: .claude/.gald3r-overlay-version.json
gald3r platform verify checks an installed platform tree is complete; gald3r platform
parity diffs your installed overlay against the canonical generator output.
Once installed, see platform-usage.md for what to actually do with
that overlay — the /g-/@g- command layer, skills, rules, hooks, and agents you now have
available inside your IDE, plus a per-platform quick-start matrix.
Choose your platform when prompted by interactive setup, or pass the repeatable --platform NAME flag:
gald3r setup --platform claude
gald3r onboard --platform claude --platform cursor
Hook wiring: .claude/settings.json vs. .cursor/hooks.json¶
Installing an overlay copies every hook script (.claude/hooks/*.py) in either case, but
each IDE has its own separate file that actually registers those scripts against
lifecycle events — copying the scripts alone does nothing until that registration file
points at them. platform install writes both in one step, per platform:
| Platform | Hook scripts land in | Registered via |
|---|---|---|
| Claude Code | .claude/hooks/*.py |
.claude/settings.json's top-level "hooks" key |
| Cursor | .cursor/hooks/*.py |
.cursor/hooks.json |
The .claude/settings.json merge is non-destructive. If a settings.json already exists
at the target (your own mcpServers, permissions, env, or other top-level keys), platform
install claude writes/updates only the "hooks" key and leaves everything else
byte-for-byte untouched. A fresh install (no pre-existing file) creates settings.json
containing only the "hooks" key — it never invents mcpServers or permissions you didn't
already have.
If you ever see hook scripts sitting in .claude/hooks/ that don't seem to be firing, check
that .claude/settings.json actually has a populated "hooks" key; re-running gald3r
platform install claude --into . repairs it without touching your other settings.
Hook engine discovery¶
Python hooks still need a working Python interpreter in the IDE's environment; the native CLI itself does not require Python. Hooks resolve their engine in this order:
- An explicit
GALD3R_BINexecutable path. - The hook's own source checkout's
bin/gald3r.exe(Windows) orbin/gald3r(POSIX), identified bygo.workandgald3r_cli/go.mod. A consumer project's arbitrarybin/directory is not searched this way. gald3ronPATH, then known native package destinations: the Windows directories above,~/.local/bin,/usr/local/bin,/usr/bin, and/opt/homebrew/binon macOS.- The legacy local Python resolver, when present.
Batch shims (.cmd and .bat) are never passed engine arguments. Discovery
may substitute a native sibling or known installed executable. Set
GALD3R_BIN to the intended native executable for custom prefixes or multiple
installations. If discovery fails, .gald3r/logs/hook_diag.log names the paths
tried without corrupting the hook's JSON output.
gald3r doctor reports hook_engine_resolution separately from hook wiring.
It checks the installed resolver against the binary's embedded copy and runs
only the embedded, read-only locator. It does not import installed hook code,
run an engine candidate, or execute legacy Python resolvers. A located file is
discovery evidence in doctor's environment, not proof of engine launch,
the IDE's interpreter choice, hook trust, or a lifecycle event firing.
Missing Python, unresolved engines, and stale or customized resolver files
produce a warning. Refresh/reconcile the overlay before testing an actual
event in its intended host; an already-running IDE may retain an older PATH.
Upgrading an existing install¶
Coming from version 5? Install the version 6 suite and follow Upgrade from version 5. For a suite update, use the package from the matching release.
Stop the local fleet before replacing files¶
Close applications using the installation. Inspect the processes with gald3r shutdown --dry-run. Save your work before requesting cooperative shutdown. Reopen editor-hosted connections after installing.
Getting the Longship TUI for the first time¶
Longship ships with the suite. See Launching Longship.
Confirm the install is healthy¶
gald3r doctor
See the quickstart for full real output of this command and what each line
means, and Troubleshooting if anything comes back FAIL instead of
OK/WARN.
Historical V5 Windows layout. The earlier dual-executable release installed both
gald3r.exe(console subsystem — terminals, scripts, agent shells; always prints and returns a real exit code, even from a console-less PowerShell host) andgald3rw.exe(GUI-subsystem attach — Windows MCP launch configs stamped at install time, and any other console-less-parented spawn that must never flash a console window). Typegald3r, notgald3rw, in a terminal or script.gald3r doctorreports awindows_dual_exerow when the two binaries report different--versionstrings. If agald3rcommand ever returns instantly with no output at all, see Troubleshooting → "Windows:gald3rreturns instantly with no output".