Skip to content

Installation

The easiest way to install is with our install script:

Terminal window
curl -sSL https://raw.githubusercontent.com/zach-snell/obx/main/install.sh | bash

This automatically:

  • Detects your OS and architecture
  • Downloads the correct binary
  • Installs to /usr/local/bin
Terminal window
curl -sSL https://raw.githubusercontent.com/zach-snell/obx/main/install.sh | bash -s -- --user

This installs to ~/.local/bin instead.

Terminal window
curl -sSL https://github.com/zach-snell/obx/releases/latest/download/obx-darwin-arm64 -o obx
chmod +x obx
sudo mv obx /usr/local/bin/

If you have Go installed:

Terminal window
go install github.com/zach-snell/obx/cmd/obx@latest
mv $(go env GOPATH)/bin/server $(go env GOPATH)/bin/obx
Terminal window
git clone https://github.com/zach-snell/obx.git
cd obx
go build -o obx ./cmd/obx

Just run the install script again:

Terminal window
curl -sSL https://raw.githubusercontent.com/zach-snell/obx/main/install.sh | bash

It always fetches the latest version.

Terminal window
obx --help

You should see usage information.