n this article, we will see how we can install the lates angular CLI in our system.
Let's get started:
Install the node.js:
First, you need to install the node.js from Here
Check your nodejs installation :
Now check in your system that you have installed node.js successfully. To check this run below command:
If node.js is installed, then you will see the following result with version:
You can see the different version according to your installation.
Now It's time to install Angular CLI:
Now run the following command in your CMD or Terminal:
You can see in the snapshot as:
Installing Angular CLI latest version
If you are facing the Error: Error: EACCES: permission denied, access '/usr/local/lib/node_modules' as:
Error: EACCES: permission denied, access '/usr/local/lib/node_modules'
then click here to resolve.
Now verify the your angular version:
To verify and see the installed angular CLI version, run the following command:
See the snapshot:
verifying Angular CLI latest version
Now in the above snapshot, you can see the version of you angular CLI of your system.
In this article, we learned how we can install the latest angular CLI in our system.