title: how to install angular cli to custom location
body: <p>I've just started working with <code>Angular</code> and with <code>Angular-CLI</code> and I've seen that, according to the documentation, I need to install <code>$ npm install -g @angular/cli</code> with the -g (global) flag.</p>
  
  <p>Once the package is installed, the default path to it in Angular CLI will be something like <code>C:\Users\{user}\AppData\Roaming\npm\node_modules\@angular\cli</code>.</p>
  
  <p>Now i want to install Angular CLI to something like this path <code>D:\npm\node_modules\@angular\cli</code>.</p>
  
  <p>I tried <code>D:\&gt;npm install @angular/cli</code></p>
  
  <p><a href="https://i.stack.imgur.com/fRSBU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fRSBU.png" alt="enter image description here"></a></p>
  
  <p>Is it possible? Your help will be appreciated.</p>