title: 'ng' is not recognized as an internal or external command,
body: <p>I have just started to work with the CLI and when i tried to install the @angular/cli and run the code <code>ng --help</code> </p>
  
  <p>I am getting the following error </p>
  
  <blockquote>
    <p>'ng' is not recognized as an internal or external command,</p>
  </blockquote>
  
  <p>I have gone through all the blogs and didn't find any help after following all the procedures listed in the blogs</p>
  
  <ol>
  <li>I have changed the </li>
  </ol>
  
  <blockquote>
    <p>user variables path : ;C:\Program Files\nodejs\ and  system variable :
    C:\Program Files\nodejs\
    ;%AppData%\npm;;</p>
  </blockquote>
  
  <ol>
  <li><p>when i ran the command </p>
  
  <p>npm install -g @angular/cli</p></li>
  </ol>
  
  <p>i found the following files under node_modules folder</p>
  
  <p>@angular</p>
  
  <p>-cli</p>
  
  <p>---bin</p>
  
  <p>-----ng</p>
  
  <p>cli</p>
  
  <p>I have tried to clean the cache using</p>
  
  <pre><code>npm cache clean 
  </code></pre>
  
  <p>and then ran the code</p>
  
  <pre><code>ng --version
  </code></pre>
  
  <p>but i am getting the error as mentioned in the title</p>