Install¶
The bcdock CLI is a single static binary with no runtime dependencies. Pick whichever path matches your environment.
Distribution channels in flight
The winget package is still pending: on Windows, use the PowerShell install script. The Homebrew tap is live: brew install bcdock/tap/bcdock.
macOS / Linux - install script¶
Detects your OS and architecture, downloads the matching binary from GitHub Releases, and installs it to /usr/local/bin/bcdock.
Windows - install script (PowerShell)¶
Downloads the latest release from GitHub, checks its SHA-256 checksum, installs bcdock.exe to %LOCALAPPDATA%\Programs\bcdock and adds that folder to your user PATH. No admin rights needed. Works in Windows PowerShell 5.1 and PowerShell 7. Running it again upgrades to the latest release.
macOS - Homebrew¶
Windows - winget (pending)¶
Not available yet. Once the package is published, this will work:
CI environments - npm wrapper¶
For CI runners that already have Node installed:
Manual binary¶
Each release on github.com/bcdock/cli/releases has one archive per platform, plus a checksums.txt with their SHA-256 hashes (VERSION is the release number without the v):
| OS | Arch | Archive |
|---|---|---|
| macOS | arm64 (Apple Silicon) | bcdock_VERSION_macos_arm64.tar.gz |
| macOS | amd64 (Intel) | bcdock_VERSION_macos_x86_64.tar.gz |
| Linux | amd64 | bcdock_VERSION_linux_x86_64.tar.gz |
| Linux | arm64 | bcdock_VERSION_linux_arm64.tar.gz |
| Windows | amd64 | bcdock_VERSION_windows_x86_64.zip (holds bcdock.exe) |
Build from source¶
The CLI source lives at github.com/bcdock/cli (MIT). Requires Go 1.25+.
Verify the install¶
Expected output (your version and commit will differ):
If you see command not found (or, on Windows, "not recognized"), your install location isn't on PATH. The macOS and Linux script targets /usr/local/bin; Homebrew uses its own prefix. On Windows, open a new terminal after the install so it picks up the updated PATH.
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