Install¶
The bcdock CLI is a single static binary with no runtime dependencies. Pick whichever path matches your environment.
Distribution channels in flight
The install script (cli.bcdock.io/install.sh), Homebrew tap, npm wrapper, and winget package are pending — distribution work hasn't shipped yet. Until then, use the manual binary path or build from source. The commands below document the canonical paths so they keep working unchanged once distribution lands.
macOS / Linux — install script¶
Detects your OS and architecture, downloads the matching binary from GitHub Releases, and installs it to /usr/local/bin/bcdock.
macOS — Homebrew¶
Windows — winget¶
CI environments — npm wrapper¶
For CI runners that already have Node installed:
Manual binary¶
Until release artefacts are published publicly, build from source (next section). When releases ship, the archive layout will be:
| OS | Arch | Binary name |
|---|---|---|
| macOS | arm64 (Apple Silicon) | bcdock-darwin-arm64 |
| macOS | amd64 (Intel) | bcdock-darwin-amd64 |
| Linux | amd64 | bcdock-linux-amd64 |
| Linux | arm64 | bcdock-linux-arm64 |
| Windows | amd64 | bcdock-windows-amd64.exe |
Build from source¶
The CLI source lives at github.com/bcdock/cli (MIT). Requires Go 1.25+.
Verify the install¶
Expected output:
If you see command not found, your install location isn't on PATH. The install script targets /usr/local/bin; Homebrew uses its own prefix.
Next steps¶
- Authenticate — log in or set a
BCDOCK_TOKENfor CI/agent use - Concepts — pool vs environment, hibernation, billing
- CLI quickstart — five commands to a running BC environment