title: npm installing wrong version of anuglar(8.1.0)
body: <p>when i run the following command, it shows 6.4.1.</p>
  
  <pre><code>npm run ng --version
  </code></pre>
  
  <p>but when i am running the following command, it is installing 8.1.0 and getting error. i do not understand how it is happening.</p>
  
  <pre><code>npm install -g @angular/cli
  </code></pre>
  
  <p>i tried the following commands. but it is not working</p>
  
  <pre><code>npm cache clean --force
  npm install -g @angular/cli
  </code></pre>
  
  <p><strong>Error Screen</strong></p>
  
  <p><a href="https://i.stack.imgur.com/6wa2u.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6wa2u.png" alt="enter image description here"></a></p>
  
  <p><strong>My Requirement:</strong></p>
  
  <p>Angular 6</p>
  
  <p>how can i resolve this?</p>