Installation
Install the BuildShare CLI binary on macOS, Linux, and Windows with automatic OS and architecture detection.
The BuildShare CLI has zero runtime dependencies. Choose your platform below to install the compiled binary directly into your system PATH.
Automated Installation
Run the automated installer script. It detects your operating system and CPU architecture automatically, downloads the matching pre-compiled binary from GitHub Releases, verifies its checksum, and installs it into your PATH:
curl -fsSL https://vishalkumardev.github.io/cli/install.sh | shInstall a Specific Version
You can pin to a specific release version using the BUILDSHARE_VERSION environment variable:
BUILDSHARE_VERSION=v0.1.0 curl -fsSL https://vishalkumardev.github.io/cli/install.sh | shCustom Installation Directory
By default, the installer places the binary in /usr/local/bin (or ~/.local/bin if root permissions are unavailable). You can customize the destination directory:
BUILDSHARE_INSTALL_DIR=/usr/local/bin curl -fsSL https://vishalkumardev.github.io/cli/install.sh | shVerify Installation
Once installed, confirm that the CLI is accessible from your terminal:
buildshare --versionYou should see output displaying the version number, commit hash, and build timestamp:
buildshare version 0.1.0 (commit: abc1234, built at: 2026-03-20T12:00:00Z)Manual Installation
If you prefer manual installation or are working within restricted network environments, download the pre-compiled binary archives directly from GitHub Releases.
Available Binaries
| Platform | Architecture | Archive Filename |
|---|---|---|
| macOS | Apple Silicon (M1/M2/M3/M4) | buildshare_<version>_darwin_arm64.tar.gz |
| macOS | Intel x86_64 | buildshare_<version>_darwin_amd64.tar.gz |
| Linux | x86_64 / amd64 | buildshare_<version>_linux_amd64.tar.gz |
| Linux | ARM64 / aarch64 | buildshare_<version>_linux_arm64.tar.gz |
| Windows | x64 / amd64 | buildshare_<version>_windows_amd64.zip |
macOS / Linux Manual Setup
Extract the downloaded archive and move the binary to /usr/local/bin:
tar -xzf buildshare_*.tar.gz
sudo mv buildshare /usr/local/bin/
sudo chmod +x /usr/local/bin/buildshare
buildshare --versionWindows Manual Setup
Extract the .zip archive and move buildshare.exe to a directory included in your system PATH (e.g. %LOCALAPPDATA%\Programs\buildshare\bin or C:\Windows\System32).
Then open a new Command Prompt or PowerShell window and run:
buildshare --versionChecksum Verification
Every release includes a checksums.txt file containing SHA-256 hashes. You can verify binary integrity before execution:
shasum -a 256 -c checksums.txt