Skip to main content

Installation

Build from Source

# Build the CLI binary
make build-cli

# Copy to the Shift bin directory
cp dist/cli/shift-cli ~/.shift/bin/shift-cli

Add to PATH

Ensure ~/.shift/bin is on your PATH. Add the following to your ~/.zshrc (or equivalent shell config):

export PATH="$HOME/.shift/bin:$PATH"

Then reload your shell:

source ~/.zshrc

Verify Installation

Run the status command to confirm the CLI is installed and can reach the gateway:

shift-cli status

You should see the gateway URL, connection status, and available service count. If the gateway is not configured yet, see Configuration.