Skip to content

Install

macOS: Homebrew

brew tap smichalabs/tap
brew install bctl

Upgrades:

brew upgrade bctl

Linux

curl -fsSL https://raw.githubusercontent.com/smichalabs/britivectl/main/scripts/install.sh | bash

The script detects your distro and installs the appropriate package:

Distro Package Manager
Debian / Ubuntu .deb dpkg
RHEL / Fedora / CentOS .rpm dnf / rpm
Everything else tar.gz extracts to /usr/local/bin

WSL (Windows Subsystem for Linux)

Same as Linux. Install wslu first so browser auth works:

sudo apt install wslu
curl -fsSL https://raw.githubusercontent.com/smichalabs/britivectl/main/scripts/install.sh | bash

Note

bctl login opens the browser via wslview (from wslu). Without it, you'll need to copy the URL manually.

Shell completions

bctl completion zsh > "${fpath[1]}/_bctl"
bctl completion bash > /usr/local/etc/bash_completion.d/bctl
bctl completion fish > ~/.config/fish/completions/bctl.fish

Verify

bctl version