ng command not recognized after installing angular-cli globally

Viewed 1256

I tried to install angular/CLI via https://angular.io/guide/quickstart#!#index

I have installed node.js and npm (I have checked it by command line).

My problems started on second step. Command line can not recognize all commands with ng.

1 Answers

Include %AppData%\npm to your path variable.

How to include

  1. Goto advanced system setting
  2. Click environment variables
  3. In the System Variables section select path variable and click edit
  4. Click new and add %AppData%\npm. Then press Ok
Related