Skip to main content

Requirements

Charter is a single Go binary. Build it with the Go version declared by the project’s go.mod, or download a release archive. The runtime has no daemon, service, or external database requirement.

Install with Go

Ensure $(go env GOPATH)/bin is on your PATH.

Install a release binary

Download the archive for your operating system and CPU architecture from the project’s GitHub Releases page, extract it, and place charter (or charter.exe) on PATH. The repository also ships convenience installers:
The shell installer accepts VERSION and BIN_DIR. The PowerShell installer accepts CHARTER_VERSION and CHARTER_BIN_DIR.

Initialize a repository

Run this at the repository root:
It creates:
init is idempotent: existing Decision and configuration files are not overwritten.

Use a different repository directory

Every command accepts the persistent --repo flag. This is useful from scripts or when invoking Charter outside the repository root.

Verify the setup

If Charter reports that .charter is missing, run charter init in the target repository or pass the correct --repo value.