Installation #
Download Latest Release #
The easiest way to install allbctl is to download a pre-built binary from the releases page.
Linux #
# Download latest release for Linux
curl -LO https://github.com/aallbrig/allbctl/releases/latest/download/allbctl-linux-amd64
# Make executable
chmod +x allbctl-linux-amd64
# Move to PATH
sudo mv allbctl-linux-amd64 /usr/local/bin/allbctl
# Verify installation
allbctl --version
macOS #
# Download latest release for macOS (Intel)
curl -LO https://github.com/aallbrig/allbctl/releases/latest/download/allbctl-darwin-amd64
# Or for Apple Silicon
curl -LO https://github.com/aallbrig/allbctl/releases/latest/download/allbctl-darwin-arm64
# Make executable
chmod +x allbctl-darwin-*
# Move to PATH
sudo mv allbctl-darwin-* /usr/local/bin/allbctl
# Verify installation
allbctl --version
Windows #
# Download latest release for Windows
# Visit: https://github.com/aallbrig/allbctl/releases/latest
# Download: allbctl-windows-amd64.exe
# Or use PowerShell
Invoke-WebRequest -Uri "https://github.com/aallbrig/allbctl/releases/latest/download/allbctl-windows-amd64.exe" -OutFile "allbctl.exe"
# Add to PATH or move to desired location
Move-Item allbctl.exe C:\Windows\System32\
# Verify installation
allbctl --version
Prerequisites for Building from Source #
- Go 1.20+ (for building from source)
- Git (for cloning repository)
Install from Source #
# Clone the repository
git clone https://github.com/aallbrig/allbctl.git
cd allbctl
# Build the binary
make build
# Install to /usr/local/bin (optional)
sudo cp bin/allbctl /usr/local/bin/
# Or add to PATH
export PATH=$PATH:$(pwd)/bin
Build for Different Platforms #
# Linux (default)
make build
# Windows
GOOS=windows GOARCH=amd64 go build -o allbctl.exe main.go
# macOS
GOOS=darwin GOARCH=amd64 go build -o allbctl main.go
# macOS Apple Silicon
GOOS=darwin GOARCH=arm64 go build -o allbctl main.go
Verify Installation #
allbctl --version
allbctl --help
Update #
From Release #
Simply download and replace the binary with the latest version from releases.
From Source #
cd allbctl
git pull
make build
Uninstall #
# If installed to /usr/local/bin
sudo rm /usr/local/bin/allbctl
# Or just remove the repository
rm -rf ~/path/to/allbctl