npm config set registry https://registry.npmjs.org/
Set the npm package registry URL — useful when switching to a private registry
Tells npm where to download packages from. Normally points to the public npmjs.com registry; change this when using a company's private registry like Artifactory or Nexus.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.