CLI Installation
Install the bp command-line tool.
Quick Install
bash
curl -fsSL https://pod.base.al/cli | bashManual 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/bpbash
curl -fsSL https://github.com/base-go/basepod/releases/latest/download/bp-darwin-amd64 \
-o /usr/local/bin/bp
chmod +x /usr/local/bin/bpLinux
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/bpbash
curl -fsSL https://github.com/base-go/basepod/releases/latest/download/bp-linux-arm64 \
-o /usr/local/bin/bp
chmod +x /usr/local/bin/bpVerify Installation
bash
bp versionConfiguration
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/bpZsh
bash
bp completion zsh > "${fpath[1]}/_bp"Fish
bash
bp completion fish > ~/.config/fish/completions/bp.fishUpdating
bash
curl -fsSL https://pod.base.al/cli | bashOr download the latest release manually.
Uninstalling
bash
rm /usr/local/bin/bp
rm ~/.basepod.yaml