Installation
How to install the CircuitHub CLI.
Quick install
curl -fsSL https://circuithub.com/install.sh | bashThe install script detects your OS and architecture, downloads the binary, verifies its checksum, and places it in /usr/local/bin (or ~/.local/bin).
Manual download
Download the binary for your platform and add it to your PATH:
| OS | Architecture | Link |
|---|---|---|
| macOS | Apple Silicon (arm64) | Download |
| macOS | Intel (amd64) | Download |
| Linux | x86_64 (amd64) | Download |
| Linux | arm64 | Download |
| Windows | x86_64 (amd64) | Download |
| Windows | arm64 | Download |
You can verify the download against the published SHA256SUMS file.
macOS / Linux
# Verify checksum (replace the path with the one you downloaded)
curl -fsSL https://circuithub.com/platform-cli/latest/SHA256SUMS | grep darwin/arm64 | shasum -a 256 --check
# System-wide install (requires sudo)
chmod +x circuithub
sudo mv circuithub /usr/local/bin/
# Or user-local install (no sudo)
chmod +x circuithub
mkdir -p ~/.local/bin
mv circuithub ~/.local/bin/Windows
Add the downloaded circuithub.exe to a directory on your PATH.
Verify
circuithub --versionUpdating
circuithub updateDownloads the latest binary for your platform, verifies the checksum, and replaces the current installation. You can also re-run the install script.
Requirements
- macOS, Linux, or Windows
- A CircuitHub account