npm install -g @legacycodehq/claritybrew install LegacyCodeHQ/tap/clarityDownload the latest release for your platform from the releases page.
# For Apple Silicon (M1/M2/M3)
curl -L https://github.com/LegacyCodeHQ/clarity-cli/releases/latest/download/clarity_VERSION_darwin_arm64.tar.gz | tar xz
# For Intel Macs
curl -L https://github.com/LegacyCodeHQ/clarity-cli/releases/latest/download/clarity_VERSION_darwin_amd64.tar.gz | tar xz
# Move to PATH
sudo mv clarity /usr/local/bin/
# Verify installation
clarity --versionReplace VERSION with the actual version number (e.g., 0.2.1).
# For ARM64
curl -L https://github.com/LegacyCodeHQ/clarity-cli/releases/latest/download/clarity_VERSION_linux_arm64.tar.gz | tar xz
# For AMD64/x86_64
curl -L https://github.com/LegacyCodeHQ/clarity-cli/releases/latest/download/clarity_VERSION_linux_amd64.tar.gz | tar xz
# Move to PATH
sudo mv clarity /usr/local/bin/
# Verify installation
clarity --versionReplace VERSION with the actual version number (e.g., 0.2.1).
- Download the Windows zip file from the releases page
- Extract the zip file
- Add the directory containing
clarity.exeto your PATH
Requires Go 1.21+ and CGO enabled:
git clone https://github.com/LegacyCodeHQ/clarity-cli.git
cd clarity-cli
make build-dev
sudo mv clarity /usr/local/bin/If you have Go installed:
go install github.com/LegacyCodeHQ/clarity@latest