Angular is one of the popular JavaScript frameworks out there. Since JavaScript is its backbone, we can use NodeJS and hence all its packages and libraries in Angular as well. We can install them by using npm (Node Package Manager), which is an extremely useful tool, as you will soon see. So, npm comes along with NodeJS, so we need to install node first.
Table of Content
- Installing NodeJS and NPM
- Installing Angular on Windows Using NPM
- Starting Angular Project
- Uninstalling ng CLI in Windows
STEP 1: Installing NodeJS and npm
The link for downloading NodeJS is here: Download Node
Then you would be shown this screen where you can click and download NodeJs according to the operating system you’re running. The setup is very simple, it’s mostly hitting the next button.
So once you’re done with installing NodeJS, npm would have already been installed with it. You can test if node and npm are installed by typing this command on CMD in windows or any terminal in macOS or Linux.
P.S. For full details, check out my article on how to install Node JS on windows.
node –v
npm --version
These commands will show you the version of the software you’ve just installed. If doesn’t tell you the version, then your installation was not successful, and you need to reinstall NodeJS.
STEP 2: Installing Angular in Windows Using npm
So, from here it’s easy-peasy. Just type in this command in cmd for windows or terminal for macOS or Linux:
npm I -g @angular/cli
You can read about its documentation here: npm Documentation
If your installation was successful, then Angular is installed on your system. To check if it is indeed installed, run this command.
ng -–version
Then you’ll be shown this screen inside your cmd or terminal. And it confirms that Angular is installed.
And it’s done!
Now you can go ahead open your IDE or text editor like VSCode and start making a new project on Angular. Check out the angular documentation here for it.
STEP 3: Starting an Angular Project
The command to create a new Angular project is this:
ng new MyProject
Now the above command is going to ask you a few questions… check YES for the routing option. Also, choose CSS as the style sheet in Angular when it asks. After that, run the below commands to run the project:
cd MyProject
ng serve --open
STEP 4: How to Uninstall Angular CLI From Windows
Similar to the way we installed the ng CLI, we are also going to use the command line to uninstall it. Simply execute these 2 lines in the CMD command prompt and ng CLI will be uninstalled from your computer.
npm uninstall -g @angular/cli
npm cache verify
I hope you found this article helpful. If you find anything that you would have like to see in this article or better yet have your own best ideas, then please send a message our way, It will be highly appreciated.
Have a great one!
Recent Posts
- Казино Официальный Сайт Играть в Онлайн Казино Pin Up.2324
- Embrace the Spin Elevate Your Play with Captivating online casino slots & Unforgettable Jackpots.
- Elevate Your Play – Explore a Universe of Thrills with online casino slots and Claim Lucrative Rewar
- Hospitalier et attractif, le monde d’alexander casino vous attend
- Elevate Your Play with 30+ Payment Options & €1200 Bonus – Find Your Fortune at sky crown casino log
Recent Comments
Archives
- May 2026
- October 2025
- August 2025
- June 2025
- October 2024
- September 2024
- August 2024
- June 2023
- May 2023
- March 2023
- December 2022
- November 2022
- October 2022
- September 2022
- August 2022
- July 2022
- June 2022
- May 2022
- April 2022
- February 2022
- January 2022
- December 2021
- November 2021
- October 2021
- September 2021
- August 2021
- July 2021
Categories
- Angular
- AWS
- Backend Development
- Big Data
- Blog
- Casino
- Cloud
- Database
- Deployment
- DevOps
- Docker
- Frontend Development
- GitHub
- Google Cloud Platform
- Installations
- Java
- JavaScript
- Linux
- MySQL
- Networking
- News
- NodeJS
- Online casino
- Operating System
- Post
- Python
- Python Flask
- Report
- Security
- Server
- SpringBoot
- Subdomain
- TypeScript
- Uncategorized
- VSCode
- Webhosting
- WordPress
Search
Recent Post
Казино Официальный Сайт Играть в Онлайн Казино
- 19 May, 2026
- 1 min read
Embrace the Spin Elevate Your Play with
- 19 May, 2026
- 5 min read
Elevate Your Play – Explore a Universe
- 19 May, 2026
- 6 min read