npm config set registry https://npm.pkg.github.com/

Category: Node.js & npm/yarn

npm config set registry https://npm.pkg.github.com/

Point npm at the GitHub Package Registry instead of the public npmjs.com registry

Redirects npm to GitHub's Package Registry — used in organizations that host private packages on GitHub instead of npmjs.com.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.