npm install -g @angular/cli
but getting below error -
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Mohd KashifPosted May 30, 2019, 2:43 AM
go to the environment variable under PATH and add the below line
(C:\Users\yourusername\AppData\Roaming\npm) or refer to the URL :https://github.com/angular/angular-cli/issues/1183
Guest UserPosted May 29, 2019, 5:17 PM