Step 1- http://nodejs.org ,
Step 2- download and install Node.js with default settings
Step 3- To check Installation , open cmd –
Step 4– Install the Angular CLI, Write the following command:
npm install -g @angular/cli
Step 5- Create a new Angular x(version) project:
ng new myapp
Step 6- This will show couple questions. Answer them as following :
Would you like to add Angular routing? Yes? Which stylesheet format would you like to use? SCSS]
Note- Angular routing allows you to create routes between the components in your app. We’ll be using Sass (SCSS) as well, it’s an alternative of css, so we’re adding that too.
Step 7- Let’s get into the folder where our new project is stored:
Awesome, we’re ready to rock now!
Running the Project
Step 9- When you’re developing your Angular 8 app, you can run following command in the terminal:
ng serve -o
The -o flag is optional, but it opens up your default browser to the development location http://localhost:4200