Follow Steps To Install Angular CLI locally.
Disclaimer: I have Angular 16 Installed Globally. and will be installing 17 Locally (To install globally, follow this)
Create a folder in your local drive, say AngularTest.
> mkdir AngularTest
> cd AngularTest
Install your angular version (Make sure while installation you are not using -g
at the end of the installation command);
> npm install @angular/cli@ (for any other version)
> npm install @angular/cli (for current version)
Type following command in your AngularTest folder to confirm your version
> ng version
This will list down version for Angular CLI, Node, Package Manager and OS. If Angular is not compatible with Node, you will see a yellow message at the bottom of window. In that case you need to figure out correct node version for Angular.
Cheers!
You may be interested in Angular Getting Started Guide.
If you want to uninstall angular, follow this
Add to favorites