Upgrade Global Angular CLI
It's just a one-line command npm install -g @angular/cli@latest
, then check with,
Bash
$ ng version
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 18.0.5
Node: 22.1.0
Package Manager: npm 10.7.0
OS: darwin arm64
Angular:
...
Package Version
------------------------------------------------------
@angular-devkit/architect 0.1800.5 (cli-only)
@angular-devkit/core 18.0.5 (cli-only)
@angular-devkit/schematics 18.0.5 (cli-only)
@schematics/angular 18.0.5 (cli-only)