Wednesday, September 26, 2018

Install Angular






Set up the Development Environment


You need to set up your development environment before you can do anything.Install  Node.js® and npm if they are not already on your machine.
watch video

https://www.youtube.com/watch?v=KKviZ_88ggs


Verify that you are running at least Node.js version 8.x or greater and npm version 5.x or greater by running node -v and npm -v in a terminal/console window. Older versions produce errors, but newer versions are fine.

install the Angular CLI globally. 

 

npm install -g @angular/cli

 

Create a new project

 

Open a terminal window.
Generate a new project and default app by running the following command.

ng new Angular-five


The Angular CLI installs the necessary npm packages, creates the project files, and populates the project with a simple default app.

 

 
 

3 comments: