npm install -g @angular/cli
but getting below error -
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Guest User10 reputationPosted May 29, 2019, 1:17 PM EDT
Mohd KashifRank #1,564 · 1K reputationPosted May 29, 2019, 10:43 PM EDT
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