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
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 | sourceUpdating
bash
curl -fsSL https://pod.base.al/cli | bashOr download the latest release manually.
Uninstalling
bash
rm /usr/local/bin/bp
rm ~/.basepod.yaml