'ng' is not recognized as an internal or external command, operable program or batch file

SVK picture SVK · Jun 21, 2017 · Viewed 163.8k times · Source

I tried running npm install -g angular-cli

enter image description here

I also tried adding it to the Enviorment Variables under PATH: (C:\Users\Administrator\AppData\Roaming\npm\node_modules\angular-cli\bin\ng) , with no success also. enter image description here

Answer

Felix Too picture Felix Too · Aug 5, 2017

You can also try:

 > npm run ng <command>