# Angular CLI: Node.js version v16.20.2 detected. The Angular CLI requires a minimum Node.js version of v18.19.1

**Code:** `Node.js version detected. The Angular CLI requires a minimum` · **Category:** Angular · **Seen on:** Angular, Angular CLI, Node.js

Your Node.js is older (or newer, unsupported) than the Angular CLI version needs.

## Meaning

Each Angular major supports specific Node versions (for example Angular 18 needs Node 18.19+ or 20.11+). Use a version manager (nvm, fnm, Volta) to switch Node, or upgrade/downgrade Angular to match the Node you must use.

## Common causes

- Node older than the CLI minimum
- Odd-numbered (non-LTS) Node such as 21 or 23
- Project pinned to an old Angular but a newer global CLI used
- CI image with an outdated Node
- Windows/WSL using a different Node than expected

## Quick fix

1. Switch Node with `nvm use 20` (or fnm/Volta)
2. Add `.nvmrc` and `engines` to the project
3. Use the CLI version that matches your Angular version

## Detailed fix by platform

### Linux

1. `nvm install 20 && nvm use 20 && node -v` then reinstall the CLI if it was global
2. Pin: `echo 20 > .nvmrc`

### Windows

1. Use nvm-windows or Volta: `volta install node@20`

## How to diagnose

1. **Versions** — node -v and ng version?
2. **Support** — Node range for this Angular major?
3. **Environment** — Same Node in CI and local?

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/angular/node-version-unsupported-by-angular-cli)
