CLI

Install

One-line install, and how to uninstall.

curl -fsSL https://www.pxb.app/cli/install.sh | sh

That drops a single executable into ~/.local/bin/pxb. If that directory is not on your PATH, the installer prints the line to add.

Install somewhere else:

curl -fsSL https://www.pxb.app/cli/install.sh | PXB_INSTALL_DIR=~/bin sh

Piping a script into a shell is worth being careful about. To read it first:

curl -fsSL https://www.pxb.app/cli/install.sh -o install.sh
less install.sh
sh install.sh

To upgrade later, run pxb upgrade — see pxb help upgrade.

Development builds

The installer served by any host other than production — a local dev server, a preview deployment — installs pxb-dev instead, beside the production CLI rather than over it:

curl -fsSL http://localhost:3000/cli/install.sh | sh
pxb-dev auth

pxb-dev signs in to the host it came from without --base-url, and keeps its own profiles in ~/.pxb-dev and its own keychain entries, so the two never touch each other's sign-ins. Everything else is the same CLI, and its help is written in its own name.

Uninstall

rm $(command -v pxb) — run pxb logout first if you also want its keychain entries gone.

In your terminal: pxb help install