How to: Using the Node CLI
The Node CLI provides the most flexibility in how Lighthouse runs can be configured and reported. Users who want more advanced usage, or want to run Lighthouse in an automated fashion should use the Node CLI.

> [!NOTE]
> Lighthouse requires Node 22 (LTS) or later.

**Installation**:

```sh
npm install -g lighthouse