Install
npm (recommended)
Section titled “npm (recommended)”npm install -g carbon-apiThe package name is carbon-api; the primary binary is carbon
(carbon-api and carbon-dev are linked as aliases). Requires Node.js
22.13 or newer.
One-liner script
Section titled “One-liner script”curl -fsSL https://raw.githubusercontent.com/TaxCollector23/carbon/master/install.sh | shFetches the latest published tarball and installs it into your global npm prefix.
Ephemeral
Section titled “Ephemeral”npx carbon-api <command>Verify
Section titled “Verify”carbon --versioncarbon doctorcarbon doctor runs a local diagnostic — Node version, pnpm, port
availability on 1223/3001/4000, saved credentials, API URL,
DATABASE_URL/REDIS_URL sanity, and docker presence — so you can tell
right away whether the environment is ready.
Shell completion
Section titled “Shell completion”carbon completion bash >> ~/.bashrccarbon completion zsh > ~/.zsh/completions/_carboncarbon completion fish > ~/.config/fish/completions/carbon.fish