Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

npm change registry

# replace the default registry URL as per your requirement

# the first command below is probably sufficient
npm config set registry https://registry.npmjs.org/

# command below probably not required
npm install --registry=https://registry.npmjs.org/
 
PREVIOUS NEXT
Tagged: #npm #change #registry
ADD COMMENT
Topic
Name
3+5 =