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.

That’s it you have now removed the set registry.

By Vivin Antony

Here I write mostly about software, technology, codings, my development/research works or anything that happens to interests me.
I'm a part designer and coder and some how a poor blogger, but trying hard in blog field to become a professional.

Leave a Reply

Your email address will not be published. Required fields are marked *