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

Bash

bash
bp completion bash > /etc/bash_completion.d/bp

Zsh

bash
bp completion zsh > "${fpath[1]}/_bp"

Fish

bash
bp completion fish > ~/.config/fish/completions/bp.fish

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.