Install Nodejs, Mac and Windows installers are available. Linux users will use the default package manager I would imagine.
I initially started by following several guides and installing components individually as required. My plan was to setup a repository and use that as a base for all future projects, heres the link to the repository. As is normal, halfway through this it entered my mind that theres probably a better way to do this and thats someones already solved this problem in a better way.
Note to Self: Other people have the same problems as me, have solved them, probably in a better way. Don’t reinvent the wheel.
After a bit of searching, I came across Angular CLI.
#install angular CLI globally npm install -g angular-cli
#create new project and navigate to it ng new angular2-test-folder cd angular2-test-folder
lets see if its works
If you now visit localhost:4200 in your browser, a basic angular2 website should be waiting.
We now have a good foundation for playing around with Angular2, using the following commands we can generate everything we need
#a new component ng generate component new-component-name #a new directive ng generate directive new-directive-name #a new service ng generate service new-service-name
We also have a full test environment
We now have everything we need, now the hard part of working out what the hells going on!