Message "the term 'ng' is not recognized as the name of a cmdlet"

asked8 years ago
last updated4 years ago
viewed531k times
Up Vote177Down Vote

Today, while working through some basic AngularJS introduction, I ran into a problem. I opened PowerShell to get going on the project. NPM worked. I was able to install Angular using:

npm install -g @angular/cli

Anytime I tried to run , I would get:

the term 'ng' is not recognized as the name of a cmdlet