Install the CLI
The bohr CLI deploys bohr projects from your terminal, from scripts, from CI and from AI coding agents. It is the same code that runs inside the bohr-io/deploy-action GitHub Action.
It needs Node.js 20 or later.
Run it with npx
Section titled “Run it with npx”No install needed; always the latest release:
npx bohr@latest --versionnpx bohr@latest deployInstall it globally
Section titled “Install it globally”npm install --global bohrbohr --versionUpdate with npm install --global bohr@latest.
As a project dependency
Section titled “As a project dependency”npm install --save-dev bohrnpx bohr deployFirst steps
Section titled “First steps”bohr login # once per computer: approve it in the browserbohr projects # the projects you can deploybohr deploy # build and deploy a preview of the current branchbohr --help # every command, global options, exit codesbohr deploy --help # one command's optionsbohr help deploy # the same