Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

How to install Angular 4 Application?

You will require node (Version required 6.9.x) and npm (Version required 3.x.x).

You can go through below links to install these softwares.

Install Node-
Go to https://nodejs.org/en/download/ and install Node.

Install NPM-
Go to https://www.npmjs.com/get-npm and install npm.

Install Angular CLI - globally using below command.

npm install -g @angular/cli

Now you can create your new project.

ng new my-app
(Note: You can give project name as per your wish. "my-app" is just an example.)

It will install npm packages and will take little time.

After installation, you now need to switch to the project name folder using below command.

cd my-app

Your project is now ready to run. :) Type following command to open up your first application in the browser.

ng serve --open




This post first appeared on Frontend Skills, please read the originial post: here

Share the post

How to install Angular 4 Application?

×

Subscribe to Frontend Skills

Get updates delivered right to your inbox!

Thank you for your subscription

×