title: How to specify registry while doing npm install with git remote url?
body: <p>I want to be able to clone a git repository using a URL as specified <a href="https://docs.npmjs.com/cli/install" rel="noreferrer">here</a> </p>
  
  <blockquote>
  <pre><code>&lt;protocol&gt;://[&lt;user&gt;[:&lt;password&gt;]@]&lt;hostname&gt;[:&lt;port&gt;][:][/]&lt;path&gt;[#&lt;commit-ish&gt;]
  </code></pre>
  </blockquote>
  
  <p>I am getting an error saying </p>
  
  <blockquote>
    <p>npm ERR! 404 Registry returned 404 for GET on
    <a href="https://registry.npmjs.org/XYZ" rel="noreferrer">https://registry.npmjs.org/XYZ</a></p>
  </blockquote>
  
  <p>So I should also be able to specify the registry while doing since modules are supposed to be picked up from  a internal repository.</p>
  
  <p>Is it possible to <strong>specify registry</strong> while doing <strong>npm install</strong> with <strong>git remote url</strong>?</p>