ng is not recognized as an internal or external command
I solved this problem in accordance with the figure:
run in cmd
npm install -g @angular/cli
and then
( open in Windows 10) Control Panel\All Control Panel Items\Systemor accordance with the figure
step 1:
step 2 :
step3:
step4:
step5: add missing ng path
Finally, restart all opened command prompts and try again.
Adding C:\Users\DELL\AppData\Roaming\npm
to System Variable Path
worked for me. Please find your appropriate file path to 'npm'
Also, check if you have added your angular-cli\bin
path to the path variable.