How to Install Angular on Windows 10

Shanira Perera
3 min readOct 17, 2022

This article go through you how to Completely install Angular CLI to your pc

image by Author via GitHub

Steps that we use to install the Angular CLI

  • Installing Server-side
  • Installing Angular CLI
  • Installing EDITOR and run a project

Installing Server-side

What is server side that is required?

We use NodeJS.

image via Author by litslink
Select Your OS and install Nodejs

After installing the setup use this cmd command to check whether if its installed success.

πŸ‘‰πŸ» node -v

Check your Node version

Installing Angular CLI

Goto Angular Official_website. and Run this command to install angular CLI

Angular Installing Command
Completion result of an Angular CLI installation

Now check Angular CLI Version by using this CMD COMMAND

πŸ‘‰πŸ» ng β€” version

Check Angular CLI Version

Installing EDITOR and run a project

Use VScode as an IDE. To install it goto VS code official_website. and download the extension file related to your os.

Install related to your os

After installing it open use command promt (not powershell )and create new project with this command.

πŸ‘‰πŸ» ng new my-sample-app

*Put yes to Routing and select css as Styling.

πŸ‘‰πŸ» cd my-sample-app

*Go inside to project folder

Console out put of creating project

πŸ‘‰πŸ» ng serve ← It will Run your Project

πŸ‘‰πŸ» ng serve β€” open ← it will Run and open browser it self.

Console output of project compiling

After complete of running system will redirect you to the below browser window that mean your Angular Set up is Installed Successfully!

http://localhost:4200/

I hope you learned something… If so, give a small clap and click FOLLOW for more interesting topics… πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘

Sign up to discover human stories that deepen your understanding of the world.

Shanira Perera
Shanira Perera

Written by Shanira Perera

Hello, I’m Shanira, welcome to the world of technology. I am an Associate software engineer at virtusa. So let’s begin!

No responses yet

Write a response