How do I use npm to download and use angular2
Crewmainzz (1)

Is there any way for me to use angular2 on repl.it? I tried getting the npm library then doing 'npm install -g @angular/cli' but it says npm is undefined. I alsotried downloading the @angular/cli library and tried doing 'ng new name' but that did not work as well.

You are viewing a single comment. View All
Answered by vedprad1 (726) [earned 5 cycles]
View Answer
Crewmainzz (1)

@vedprad1 I did that, then when I do ng new it does not work in the console even though it is an angular command