Setup angular2 local development environment

1) Install node js
2) sudo npm install npm -g // install NPM
3) sudo npm install -g typescript // install typescript
4) git clone https://github.com/angular/quickstart.git quickstart // cloning angular2 setup
5) cd quickstart
6) sudo npm install
7) sudo npm start

 

Via CLI

1) Install node js
2) sudo npm install npm -g // install NPM
3) sudo npm install -g typescript // install typescript
4) npm install -g @angular/cli
5) ng new my-app
6) sudo npm start

Share This:

Leave a Reply

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