Skip to main content

CSGClaw: installation

← Back to CSGClaw overview

Aligned with the upstream project; see the CSGClaw README (English) and README in Chinese.

Prebuilt install (macOS / Linux)

curl -fsSL https://csgclaw.opencsg.com/install.sh | bash
  • The install script downloads a prebuilt release bundle, installs it under a local user directory (e.g. ~/.local/lib/csgclaw/<version>/), and puts csgclaw on your PATH.
  • Prebuilt targets today: macOS arm64 and Linux amd64.

For official release bundles and the default source build, boxlite-cli prefers the boxlite binary shipped in the same bundle as csgclaw; it falls back to PATH only if the bundle does not include it. Sandbox and full configuration details are in the repo docs/config.md and in API & config on this site.

Build from source

From the root of a cloned repository:

make build

For most users, the one-line install script above is simpler.

Verify install

csgclaw --version

Next: Quick start.