Skip to content

Instantly share code, notes, and snippets.

View moorooboorai-jeroen's full-sized avatar

Jeroen Zuijderhoudt moorooboorai-jeroen

View GitHub Profile
@moorooboorai-jeroen
moorooboorai-jeroen / gist:0e7b47bf2d719ac8c3b1
Created January 1, 2016 13:48
Proper setup for Node and NPM on OS X
Uninstalling Node + NPM is bitchy at best, steps listed here worked (removed it from El Capitan 10.11.2):
https://gist.github.com/TonyMtz/d75101d9bdf764c890ef
Now for the installation, these steps (still) worked fine for me (installed on El Capitan 10.11.2):
http://www.johnpapa.net/how-to-use-npm-global-without-sudo-on-osx/
When brew errors out with something like 'The brew link step did not complete' then you may have permissions troubles.
Below this error message will be listed the offending file/directory.
Make sure you have permissions. This will probably require some form of chown-jitsu?