---
updatedAt: 2026-01-20T17:21:39.000Z
agentTools:
  projectIndex: https://docs.brightsec.com/llms.txt
---

# Install as NPM / Yarn

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](https://nodejs.org/).

> 📘 Note:
>
> To ensure compatibility, install the latest NPM version in your local environment using versions 22 or 24 of Node.

### Installation

1. Open your terminal.
2. Execute the following command:

```Text npm
npm install -g @brightsec/cli
```
```Text Yarn
yarn global add @brightsec/cli
```

To verify a successful installation, open a terminal window and execute the following command:

```text Code
bright-cli --version
```

If the CLI's version information is displayed, the installation was successful.

<br />