Skip to content

CLI Installation

Install the bp command-line tool.

Quick Install

bash
curl -fsSL https://pod.base.al/cli | bash

Manual Installation

macOS

bash
curl -fsSL https://github.com/base-go/basepod/releases/latest/download/bp-darwin-arm64 \
  -o /usr/local/bin/bp
chmod +x /usr/local/bin/bp
bash
curl -fsSL https://github.com/base-go/basepod/releases/latest/download/bp-darwin-amd64 \
  -o /usr/local/bin/bp
chmod +x /usr/local/bin/bp

Linux

bash
curl -fsSL https://github.com/base-go/basepod/releases/latest/download/bp-linux-amd64 \
  -o /usr/local/bin/bp
chmod +x /usr/local/bin/bp
bash
curl -fsSL https://github.com/base-go/basepod/releases/latest/download/bp-linux-arm64 \
  -o /usr/local/bin/bp
chmod +x /usr/local/bin/bp

Verify Installation

bash
bp version

Configuration

The CLI stores configuration at ~/.basepod.yaml:

yaml
current_context: myserver.com
servers:
  myserver.com:
    url: https://myserver.com
    token: <auth-token>
  staging.myserver.com:
    url: https://staging.myserver.com
    token: <auth-token>

Shell Completion

Add to your shell config for tab completion:

bash
# Bash (~/.bashrc)
eval "$(bp completion bash)"

# Zsh (~/.zshrc)
eval "$(bp completion zsh)"

# Fish (~/.config/fish/config.fish)
bp completion fish | source

Updating

bash
curl -fsSL https://pod.base.al/cli | bash

Or download the latest release manually.

Uninstalling

bash
rm /usr/local/bin/bp
rm ~/.basepod.yaml

Released under the MIT License.