September 23, 2017

npm unset a registry

npm unset a registry

A registry is set using below command,

npm set registry

To unset a registry type the below command in command prompt.

npm config edit

This opens a file in editor with the file name .npmrc which is the config file of npm.

Remove the registry line which you have set and save the file.


Thats it you have now removed the set registry.

No comments:

Post a Comment

Popular Posts