'ng' is not recognized as an internal or external command, operable program or batch file.
See original GitHub issueAm getting this at after setup
C:\Users\USER>ng --version ‘ng’ is not recognized as an internal or external command, operable program or batch file.
C:\Users\USER>node --version v6.9.5
Am using Windows 10/ 64 bit
Please provide us with the following information:
OS?
Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Versions.
Please run
ng --version. If there’s nothing outputted, please run in a Terminal:node --versionand paste the result here:
Repro steps.
Was this an app that wasn’t created using the CLI? What change did you do on your code? etc.
The log given by the failure.
Normally this include a stack trace and some more information.
Mention any other details that might be useful.
Thanks! We’ll be in touch soon.
Issue Analytics
- State:
- Created 7 years ago
- Comments:24 (1 by maintainers)
Top Results From Across the Web
ng is not recognized as an internal or external command
Look up the path for file ng.cmd. Update the environment variable PATH value with the same path path. Restart the command line console...
Read more >'ng' is not recognized as an internal or external command
To solve the error "ng is not recognized as an internal or external command, operable program or batch file", install the angular cli...
Read more >How to Fix “ng is not Recognized as Internal or External ...
Solution 2: Add Path of ng to Windows ... The error “ng is not Recognized as an Internal or an External Command” may...
Read more >How To Solve ng Is Not Recognized As An Internal Or ...
For this solution, you just need to follow a few important operations. Go to the control panel and select the system and security...
Read more >Resolved:'ng' is not recognized as an internal or external ...
This error I found to be due to improper installation or configuration of Angular CLI in the local machine. Below is how I...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I just got a new computer (win 10) and experienced the same problem moving to new environment. I added %APPDATA%\npm to the PATH environment variable. That is where the ng command is (thanks emrhzc).
The problem is NOT the install of the NPM nor the path ! If you want to use the “ng” commend you need to install the angular-cli.
https://cli.angular.io/