Install keelbox
curl -fsSL https://get.keelbox.dev | shkeelbox is one binary for macOS and Linux, on amd64 and arm64. The installer checks its signature and checksums (what it verifies) and puts it in ~/.local/bin, without sudo. Install it on the computer you manage boxes from, or on the Ubuntu machine that is to become the box.
Read the installer first
curl -fsSL https://get.keelbox.dev -o install.sh
less install.sh
sh install.shIts opening comment says what it does and which options it takes.
On the machine to set up
curl -fsSL https://get.keelbox.dev | sh -s -- upThis installs keelbox, then starts keelbox up on your terminal. Flags after up go to keelbox up.
With Homebrew
brew install keelbox/tap/keelboxThis installs the same release binary and its shell completion, checked against the checksum in the release's signed SHA256SUMS. Update with brew upgrade keelbox, not keelbox self-update.
What the installer writes
| What | Where |
|---|---|
| The binary | ~/.local/bin/keelbox |
| bash completion | ~/.local/share/bash-completion/completions/keelbox |
| zsh completion | ~/.local/share/zsh/site-functions/_keelbox |
| fish completion | ~/.config/fish/completions/keelbox.fish |
A PATH line, if ~/.local/bin is not on your PATH | your login shell's file, under a comment starting # keelbox |
| keelbox's skill for Claude Code and Codex, if you say yes | ~/.claude/skills/keelbox, rules in ~/.claude/settings.json, ~/.codex/skills/keelbox, ~/.codex/rules/keelbox.rules |
Completion is written for each installed shell; for zsh, the installer also prints the fpath line to add before compinit in ~/.zshrc. It asks before adding the PATH line: open a new terminal afterwards.
To update, run the installer again, or keelbox self-update for the binary alone.
Options
sh install.sh --version v0.1.0 # a given release
sh install.sh --prefix /opt/keelbox # binary in /opt/keelbox/bin, completion under /opt/keelbox/share
sudo sh install.sh --prefix /usr/local # a prefix your account cannot write to
sh install.sh --dir ~/bin # binary in ~/bin, completion where your shells look
sh install.sh --no-modify-path # print the PATH line, never offer to add itKEELBOX_VERSION and KEELBOX_INSTALL_DIR set the defaults for --version and --dir.
Check the installer before it runs
Each release's signed SHA256SUMS lists install.sh:
g=https://get.keelbox.dev
curl -fsSL -O $g/install.sh -O $g/SHA256SUMS -O $g/SHA256SUMS.sshsig
v=$(curl -fsSL $g/stable.json | sed -n 's/.*"version": "\(v[^"]*\)".*/\1/p')
echo 'keelbox-release namespaces="keelbox-release" ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINz4QTjDO5ApRe46EVbxBWTVZkz6mtN5YYHYCgxv6E8Y' >allowed_signers
{ printf 'keelbox-release %s\n' "$v"; cat SHA256SUMS; } |
ssh-keygen -Y verify -f allowed_signers -I keelbox-release -n keelbox-release -s SHA256SUMS.sshsig
grep ' install.sh$' SHA256SUMS | sha256sum --check # macOS: shasum -a 256 --checkYou should see Good "keelbox-release" signature, then install.sh: OK. The key is keelbox's release key, the one install.sh carries.
Remove keelbox
keelbox agent-skill remove # first, if you added the skill
rm ~/.local/bin/keelbox ~/.local/share/bash-completion/completions/keelbox \
~/.local/share/zsh/site-functions/_keelbox ~/.config/fish/completions/keelbox.fishThe installer's last line lists the files it wrote. Delete the PATH line it added, if any. Your boxes' configs stay in ~/.config/keelbox; to remove a box, see remove a box. Once no box is left, remove the configs and the cache too:
rm -rf ~/.config/keelbox ~/Library/Caches/keelbox # Linux: ~/.cache/keelboxInstalled with Homebrew: brew uninstall keelbox, then brew untap keelbox/tap.
Synced from keelbox/keelbox at e9770d0, 2 December 2026