This guide will help you install Orb on your system.
- Go 1.21 or higher (for building from source)
- Git (for cloning the repository)
- Internet connection (for downloading dependencies)
The easiest way to install Orb is to download a pre-built binary from the releases page.
# Download the latest Linux binary
wget https://github.com/Zayan-Mohamed/orb/releases/latest/download/orb-linux-amd64
# Make it executable
chmod +x orb-linux-amd64
# Move to a directory in your PATH
sudo mv orb-linux-amd64 /usr/local/bin/orb
# Verify installation
orb --version# Download the latest macOS binary
curl -LO https://github.com/Zayan-Mohamed/orb/releases/latest/download/orb-darwin-amd64
# Make it executable
chmod +x orb-darwin-amd64
# Move to a directory in your PATH
sudo mv orb-darwin-amd64 /usr/local/bin/orb
# Verify installation
orb --versionFor Apple Silicon (M1/M2):
curl -LO https://github.com/Zayan-Mohamed/orb/releases/latest/download/orb-darwin-arm64
chmod +x orb-darwin-arm64
sudo mv orb-darwin-arm64 /usr/local/bin/orb- Download
orb-windows-amd64.exefrom the releases page - Rename it to
orb.exe - Add it to your PATH or place it in a directory that's already in your PATH
- Open PowerShell or Command Prompt and run:
orb --version
If you prefer to build from source or want the latest development version:
git clone https://github.com/Zayan-Mohamed/orb.git
cd orb# Build for your current platform
make build
# The binary will be created as ./orb
./orb --version# Build for your current platform
go build -o orb
# Build for specific platforms
GOOS=linux GOARCH=amd64 go build -o orb-linux-amd64
GOOS=darwin GOARCH=amd64 go build -o orb-darwin-amd64
GOOS=windows GOARCH=amd64 go build -o orb-windows-amd64.exe# Build for all supported platforms
chmod +x build.sh
./build.sh
# Binaries will be created in ./build/ directory# Install to $GOPATH/bin
go install
# Or manually copy to /usr/local/bin
sudo cp orb /usr/local/bin/After installation, verify that Orb is working correctly:
# Check version
orb --version
# Display help
orb --help
# List available commands
orbOrb requires the following Go modules (automatically downloaded during build):
github.com/spf13/cobra- CLI frameworkgithub.com/gorilla/websocket- WebSocket implementationgolang.org/x/crypto- Cryptography primitivesgithub.com/charmbracelet/bubbletea- TUI frameworkgithub.com/charmbracelet/bubbles- TUI componentsgithub.com/charmbracelet/lipgloss- TUI styling
- Read the First Steps guide to get started
- Check out Usage Examples for common scenarios
- Learn about Sharing Files and Connecting
If you get "permission denied" errors on Linux/macOS:
chmod +x orbIf orb command is not found:
- Make sure the directory is in your PATH
- Try running with full path:
/usr/local/bin/orb - Verify the binary is in the expected location
If building from source fails:
- Ensure Go 1.21+ is installed:
go version - Clear the module cache:
go clean -modcache - Update dependencies:
go mod tidy