Install the CLI
Install the published npm package. Do not substitute an unofficial binary or curl | sh installer.
Prerequisites
- Node.js 22+.
sh
npm install --global appbarn-cli
appbarn --versionExpected result
appbarn --version reports the installed package version and appbarn config show works without a token.
Prompt an agent to install the CLI
text
Install the official AppBarn CLI in this development environment.
First inspect the repository and the available Node.js/npm tooling. Use the published `appbarn-cli` npm package, require Node.js 22 or later, and verify the install with `appbarn --version` and `appbarn config show`. Do not use an unofficial binary or a curl-piped installer.
Before changing anything, ask me which installation scope I want if the repository uses a package manager or toolchain that makes global versus project-local installation a meaningful choice. Ask any other question needed to avoid guessing about a non-standard Node.js setup. Do not ask questions whose answers are already clear from the repository.
Never request, print or store an AppBarn Automation Token in CLI configuration. Report the commands run and the verified version when finished.Common failures
If installation fails, confirm Node.js 22+ and use the current npm package release.