How to Install Angular 2 - using angular-cli
If you're new to Angular2, you're probably wondering how exactly you get it installed. If that is the case, then you've come to the right place!
Angular-cli is a great way to set up an Angular 2 project and avoid manually copying and pasting configuration files just to get your project to build.
The steps to installing Angular 2 :
Step1:
➡️ Install npm.
Step2: Install angular-cli run the command below
➡️npm install -g angular-cli
Step3: Open cmd, create a new Angular 2 project and run this command
➡️ng new my_project
With those steps, you have a new Angular 2 project. If you go into the root directory of the project you just created and enter the command ➡️➡️ ng serve
That's all ☺️
Note : To install npm, you can follow the steps here http://bit.ly/2FyzMSP
Congratulations @marouadev! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Do not miss the last post from @steemitboard:
Vote for @Steemitboard as a witness to get one more award and increased upvotes!
Congratulations @marouadev! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Do not miss the last post from @steemitboard:
Vote for @Steemitboard as a witness to get one more award and increased upvotes!