## Installation

---

### Prerequisites

---

#### Node.js

Rainbow CLI NG requires Node.js version 20.12.0 or higher.

| Prerequisite | Minimum version |
|---|---|
| Node.js | >= 20.12.0 |
| npm | >= 10.x |

Download Node.js at [nodejs.org](https://nodejs.org).

To check your installed version:

```bash
node --version
npm --version
```

### Global Installation

---

Global installation is recommended so the `rbw` command is available from any directory:

```bash
npm install -g rainbow-cli-ng
```

To verify the installation:

```bash
rbw --version
```

### Updating

---

To update to the latest available version:

```bash
npm update -g rainbow-cli-ng
```

The CLI automatically notifies you when a newer version is available on the next launch.

### Local Installation (optional)

---

To install within a specific project without modifying the global environment:

```bash
npm install rainbow-cli-ng
```

Usage via npx:

```bash
npx rainbow-cli-ng --version
```

### Verification

---

Run the following command to display the list of available commands:

```bash
rbw --help
```

If the command is recognized, the installation is complete. Proceed to [Configuration](/doc/sdk/cli-ng/en/guides/configuration).
