How do I restore npm to its default directory on mac? #820
Unanswered
nickobanoffee
asked this question in
Question
Replies: 1 comment
-
Remove the prefix line from ~/.npmrc |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello I just want to ask for help on how to restore my npm to its default directory on mac?
I just ran this command on terminal to change npm's directory but I want it back to its default directory because of OCD :)
mkdir
/.npm-global/.npm-global'npm config set prefix '
export PATH=~/.npm-global/bin:$PATH
Please help. Thanks fam!
Beta Was this translation helpful? Give feedback.
All reactions