Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
'ng' is not recognized as an internal or external command, operable program or batch file. #5872
npm install -g @angular/cli@latest
The log given by the failure
'ng' is not recognized as an internal or external command, operable program or batch file.
Hello, after installing angular-cli the 'ng' command simply doesn't work on windows.
The echo %PATH% returns C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Skype\Phone;C:\Program Files\TortoiseSVN\bin;C:\Program Files\nodejs;C:\Users\fausto.braz.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Users\fausto.braz\AppData\Local\Microsoft\WindowsApps;C:\Users\fausto.braz\AppData\Local\atom\bin
So I get this working by adding to my user account enviroment PATH:
For that go to :
and add the path to your AppData\Roaming\npm, in my case was
@MRokas thanks for the support
At last find the solution for ng command is not working issue ,Find the solution below http://itechiesol.blogspot.com/2017/07/angular-cli-ng-command-is-not-working.html
this helped me to resolve issue on windows 10.