Skip to content

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.

No install needed; always the latest release:

Terminal window
npx bohr@latest --version
npx bohr@latest deploy
Terminal window
npm install --global bohr
bohr --version

Update with npm install --global bohr@latest.

Terminal window
npm install --save-dev bohr
npx bohr deploy
Terminal window
bohr login # once per computer: approve it in the browser
bohr projects # the projects you can deploy
bohr deploy # build and deploy a preview of the current branch
Terminal window
bohr --help # every command, global options, exit codes
bohr deploy --help # one command's options
bohr help deploy # the same