After removing the previous version of Node.js , now i have installed the latest version of it. I have also installed @angular/cli .
But when i am trying to create new Project through CLI , i am getting error
'ng' is not recognized as an internal or external command.
I have uninstalled Node.js several time using command and manually all folder but still it coming after fresh installation.
I have tried to install @angular/cli but getting below error.
Any help will be much appreciated. Thanks in Advance.
-g
argument?$ npm list -g --depth=0
, what does it show?ng
is not available.npm install -g @angular/cli
On Windows it's best to do that using the powerShell and need to be run as admin and it will work in windows shell too.