Early beta

Run your Crumb workspace from the terminal.

The Crumb CLI gives operators and AI agents workspace-scoped access without sharing a browser session. This installer downloads directly from Crumb; npm is not required.

Current beta scope: inspect authentication, workspace settings, credentials, pools, keys, and audit events; update workspace name and timezone; mint keys or distribute them by email. More administration commands are coming.

Install

Requires macOS or Linux, Node.js 18.18+, curl, and tar.

curl -fsSL https://getcrumb.dev/install-cli | sh

The installer verifies the release archive's SHA-256 checksum before installing. It places versioned files under ~/.local/share/crumb-cli and the executable at ~/.local/bin/crumb.

Manual installation

curl -fLO https://getcrumb.dev/downloads/crumb-cli-0.2.0.tgz
echo "ce9b538cd4024bbae579fb9f353f4d96a6f6a501c258673a74b4be379564108a  crumb-cli-0.2.0.tgz" | sha256sum -c -
tar -xzf crumb-cli-0.2.0.tgz
node package/dist/index.js --version

On macOS, replace the checksum line with echo "ce9b538cd4024bbae579fb9f353f4d96a6f6a501c258673a74b4be379564108a crumb-cli-0.2.0.tgz" | shasum -a 256 -c.

Create an automation token

  1. Open your workspace in the Crumb dashboard.
  2. Open API Access, then create a token under CLI automation.
  3. Copy the ca_ token immediately. It is shown only once.

Authenticate safely

Avoid putting the token directly in a shell command, where it may be saved in history. In bash or zsh:

read -s CRUMB_TOKEN
export CRUMB_TOKEN
crumb doctor --json

Paste the token after read and press Enter. The token is workspace-scoped and cannot become a browser session or authenticate inference requests.

If you are an agent

Use the CLI as a non-interactive, JSON-based interface. The human operating your environment should provide CRUMB_TOKEN; do not ask them to paste the token into chat, and never print or inspect its value.

# Confirm authentication and the selected workspace first.
crumb doctor --json

# Discover the commands supported by this installed version.
crumb --help

# Inspect state before proposing or performing a change.
crumb workspace show --json
crumb credential list --json
crumb pool list --json

# Mint a key only when the user has authorized you to handle its plaintext.
crumb key create --pool <pool-id> --recipient-email person@example.com --json

# Prefer distribution when the recipient should receive the key themselves.
crumb key distribute --pool <pool-id> --recipient-email person@example.com --json

The package also includes a SKILL.md with these operating constraints for agent runtimes that support bundled skills.

Available commands

crumb workspace show --json
crumb workspace update --name "Team workspace" --json
crumb credential list --json
crumb pool list --json
crumb pool show <pool-id> --json
crumb key list --pool <pool-id> --json
crumb key show <key-id> --json
crumb key create --pool <pool-id> --recipient-email user@example.com --json
crumb key distribute --pool <pool-id> --recipient-email user@example.com --json
crumb audit list --json

Run crumb --help for global options. Non-interactive tools should use --json.

Update or uninstall

Run the installer again to update to the version shown on this page.

curl -fsSL https://getcrumb.dev/install-cli | sh

To uninstall:

rm ~/.local/bin/crumb
rm -rf ~/.local/share/crumb-cli

Security notes