-2

I already have idea about Angular 1.x. I'm planning to learn Angular 2.x. By this Tutorial, they are asking to install node.js and npm. I installed node.js. From where to write the command "npm install"? from the node.js installation directory or from my project directory? When i write from project directory, it says "npm is not an internal/external command" I got stuck here.

Any help??

dsuess
  • 5,219
  • 2
  • 22
  • 22
Developer
  • 157
  • 2
  • 18

2 Answers2

2

install latest version of node (6.2.2), try using linux console such as git bash . got to the folder where you want to install angular .

create folder structue using the tutorial available here https://angular.io/docs/ts/latest/tutorial/

explained very neatly and straight to the point , all the best!

1

First install Node with respective OS then in cmd prompt type node, if all the installation process fine then REPL will executed then install packages by typing

npm install <package name>
Wasiq Muhammad
  • 3,080
  • 3
  • 16
  • 29