Angular 2 [PART-2] Install new app

Step 1

Install Node.js and npm
Download the latest version of Node.js if you do not already have it installed on your machine. This download will also include the latest version of npm.

Step 2
Open Command prompt (cmd)

Step 2
Go to your local depository where you want to install angular 2 app

Step 3
Type Scrypt


ng new my-app //(app name)

Step 4
After install application go to your app (my-app) folder
then type


npm start //(app name)

Step 5

Your App is ready now , in your command prompt will show success message and URL
ex : http:/localhost:4200/
you can access your app by load this URL in your browser

Leave a Reply

Your email address will not be published. Required fields are marked *