Browse files

Config removal instructions

  • Loading branch information...
1 parent 077fc1f commit a26fb0925cebcd0c9f2631edd4d81a3be46f7820 @isaacs isaacs committed Jun 28, 2011
Showing with 13 additions and 0 deletions.
  1. +13 −0
@@ -123,6 +123,19 @@ To remove cruft left behind by npm 0.x, you can use the included
npm explore npm -g -- sh scripts/
+npm uses two configuration files, one for per-user configs, and another
+for global (every-user) configs. You can view them by doing:
+npm config get userconfig # defaults to ~/.npmrc
+npm config get globalconfig # defaults to /usr/local/etc/npmrc
+Uninstalling npm does not remove configuration files by default. You
+must remove them yourself manually if you want them gone. Note that
+this means that future npm installs will not remember the settings that
+you have chosen.
## Using npm Programmatically
If you would like to use npm programmatically, you can do that.

0 comments on commit a26fb09

Please sign in to comment.