- Run project
To run Angular 2 CLI Version you will have to install following components in your environment.
Installing Node.js and updating npm
If you’re using OS X or Windows, the best way to install Node.js is to use one of the installers from the Node.js download page. If you’re using Linux, you can use the installer, or you can check NodeSource’s binary distributions to see whether or not there’s a more recent version that works with your system.
The version should be higher than v0.10.32.
Node comes with npm installed so you should have a version of npm. However, npm gets updated more frequently than Node does, so you’ll want to make sure it’s the latest version.
The version should be higher than 2.1.8.
Installing Angular CLI and project dependencies
Go to project directory
Start local server
Your project is ready. Go to following url http://localhost:4200.