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

When first starting with Angular, a common question I see asked is why do I get the error "The term 'ng' is not recognized as the name of a cmdlet".  Tye typical reason is that you do not have the angluar cli installed.  In order to install angular cli, type the following at a command prompt:

npm install -g @angular/cli

After the installation completes, you can then run angular cli commands such as ng serve, etc.,

Need a developer, architect or manager? I am available - email me at [email protected]

Add comment