Today in this article I will discuss you how to install Angular 5 on your computer so let’s get started.
Step 1:
You need to install Node JS and npm on your local machine. And Verify that you are running at least node 6.9.x and npm 3.x.x by running node -v and npm -v in dos or terminal.
Step 2:
Now install Andular CLI (Command Line Interface) globally in your machine. By running this below command in terminal/dos.
npm install -g @angular/cli
Step 3:
To generate an Angular 5 project just go to the directory and shift+right click and click “Open Command Window Here” and run the following command-
ng new my-app
It’s very easy and it takes at least 2 – 4 minutes to generate the angular project skeleton.
Step 4:
After project skeleton generated you can run this following command from the same directory the project generated.
cd my-app ng serve --open
or
cd my-app ng serve -o
satisfied to get you help