Use this file to discover all available pages before exploring further.
BRICKS CLI ships as a native standalone executable for macOS, Linux, and Windows. No Node.js runtime is required. If you prefer, you can also install it from npm or Bun.
curl -fsSL https://cdn.bricks.tools/bricks-cli/release/install.sh | sh
The script detects your architecture (Apple Silicon or Intel), downloads the native binary to ~/.local/bin/bricks, and makes it executable.If ~/.local/bin is not on your PATH, add this to your shell profile:
export PATH="$HOME/.local/bin:$PATH"
curl -fsSL https://cdn.bricks.tools/bricks-cli/release/install.sh | sh
The script detects your architecture (x86_64 or ARM64) and C library (glibc or musl), downloads the native binary to ~/.local/bin/bricks, and makes it executable.If ~/.local/bin is not on your PATH, add this to your shell profile:
The script detects your architecture (x64 or ARM64) and installs bricks.exe to %LOCALAPPDATA%\Programs\bricks-cli\bin\.If the install directory is not on your user PATH, the script prints the command to add it. You can also add it from Settings > System > About > Advanced system settings > Environment Variables.
The CLI is also published on npm. This method requires Node.js 22+ or Bun.
Run bricks update-cli to update an existing install in-place. It auto-detects how the CLI was installed (npm, Bun, or standalone binary) and runs the matching update command. See bricks update-cli in the command reference.
bricks update-cli # prompts before updatingbricks update-cli -y # non-interactive