deoxxa / npmrc

Switch between different .npmrc files with ease and grace.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to delete already created registry from the npmrc list ?

Valentin1918 opened this issue · comments

  1. npmrc -c work
  2. npmrc -->will show me a list of all registers --> default, work
    How to remove from this list a work registry?
commented

From Docs:

  • NPMRC_STORE - Path to directory of profiles. Default: ~/.npmrcs/

Go to NPMRC_STORE location and delete the registry named file, which was added before.

sudo rm -rf ~/.npmrcs/<your_old_unwanted_registry>