Last active
December 4, 2015 17:04
-
-
Save jbenner-radham/3a939167b7069694a23c to your computer and use it in GitHub Desktop.
Fix for a borked npm on a system with Node.js installed via Homebrew.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env sh | |
| npm explore npm -g -- sh scripts/clean-old.sh | |
| npm -g rm npm | |
| curl -L https://npmjs.org/install.sh | npm_config_prefix=$(brew --prefix) sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment