To create an angular 2 app, below are the pre-requisites.
NodeJS
- Check if NodeJs is installed in the machine
- Run command prompt as administrator
- Type “node –v”
- This command gives the version if NodeJs is installed, else the command won’t be recognized.
- Download and install NodeJs from https://nodejs.org/en/ (latest), again check version.
IDE – Visual Studio Code
- Download and Install IDE – Visual Studio code from https://code.visualstudio.com/Download
Typescript
- Check if Typescript is installed
- Run the command prompt as administrator
- Type “tsc -v”
- This command gives the version if typescript is installed, else, the command won’t be recognized.
- Install typescript
- Run the command prompt as administrator
- Type “npm install –g typescript”
- Check version by running command tsc -v
Once all this is set up we are ready to code our first angular 2 app.
You can find step by step details of creating an angular 2 app in my next post… here
Advertisements
Pingback: Key players of Angular 2 app | My Learnings
Pingback: Create an angular 2 app from scratch | My Learnings