- Install Angular CLI, Node.js and npm to set up the development environment. Refer the below post to set up the environment.
- Create a new workspace and generate a new sample application by running the following command in command prompt
ng new {appName}

Get your popcorn’s as it takes some time to install the npm packages.
- To serve the application go to the project directory and run the command
ng serve --open
![]()
–open option opens your browser on http://localhost:4200/


2 comments