Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
Add more 'don't do this' around setting global config
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Jul 9, 2011
1 parent 5c40b06 commit e179802
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/faq.md
Expand Up @@ -50,6 +50,14 @@ Ok, fine. Do this:

This is not recommended.

Many things **will not work** if you do this. Make sure you read and
understand `npm help config` and `npm help global` before you complain
about things being broken.

When you realize what a mistake it was, do this to switch back:

npm config delete global --local

## How do I list installed packages?

`npm ls`
Expand Down

0 comments on commit e179802

Please sign in to comment.