NPM includes a CLI that can be used to download and install software. npm is installed with Node.js.
This means that you have to install Node.js to get npm installed on your computer. Download Node.js from the official Node.js website.
To ensure compatibility, install the latest NPM version in your local environment using versions 14, 16, or 18. For information on how to update Node see Install or upgrade to version of Node required for Bright CLI.
- Open your terminal.
- Execute the following command:
npm install -g @brightsec/cli
yarn global add @brightsec/cli
To verify a successful installation, open a terminal window and execute the following command:
If the CLI's version information is displayed, the installation was successful.
For more details, see the troubleshooting article.
Updated 2 months ago