How to reset the npm registry in global npm config

Dinuka De Silva picture Dinuka De Silva · Dec 14, 2016 · Viewed 39.8k times · Source

Is there any way to change or reset the global npm registry.

Appreciate your assistance.

Answer

Kraken picture Kraken · Oct 30, 2017

Run the following command in your terminal to revert back to the default regsitry

npm config set registry https://registry.npmjs.org/

NPM CONFIG DOCS