-
Install Node.js from node.org
-
Open CMD and type ==> npm -v (this command show the npm version)
-
Install Type script Globally in your system. by below command using NPM tool from Node CMD ==> npm install -g typescript
-
Install vscode editor (any other editor like sublimeText,atom etc....which supports type script).
-
Install angular CLI globally by below command CMD ==> npm install -g @angular/cli
-
Go to project folder "angular2-app".
-
Run this command ==> npm install (this will install project related packages from package.jason file)
-
Run Below command to start web server.
CMD ==> ng serve --open ( this will open your chrome browser automatically) If it doesn't open the browser then type below URL in your browser
http://localhost:4200/. You should see the your first angular app.
=============================================================================================================================================