How To Setup A Local Development Environment For Angular 2
In this tutorial, we are about to see how to setup a local development environment for Angular 2.
You can see more information about Typescript here.
First Install Node and NPM in your System. If you didn’t know how to install Node and NPM, Follow this instruction
To setup, a development environment you need follow following steps:
- Install Node and NPM.
- Open your Command prompt (For Windows) / Terminal (For MAC).
- Clone QuicStart Project From Github.
- Move to QuickStart Folder.
- Install npm packages.
npmto launch the Angular 2 application.
git clone https://github.com/angular/quickstart.git quickstart
OR You can also directly download QuickStart From Github and unzip the files to your project folder.
cd quickstart npm install npm start
The quickStart Folder contains sample project structure of Angular 2 Application