Skip to content

Instantly share code, notes, and snippets.

@rachelbaker
Last active October 4, 2019 21:33
Show Gist options
  • Star 21 You must be signed in to star a gist
  • Fork 10 You must be signed in to fork a gist
  • Save rachelbaker/5437969 to your computer and use it in GitHub Desktop.
Save rachelbaker/5437969 to your computer and use it in GitHub Desktop.
Instructions for installing Node NPM and Yeoman on OSX

Requires:

Verify Homebrew is not sick:

brew doctor

Install Node (with NPM) with Homebrew:

brew install node

Add the following to your bash or zsh profile:

export NODE_PATH="/usr/local/lib/node"

export PATH="/usr/local/share/npm/bin:$PATH"

Restart Terminal, then run:

npm install -g yo grunt-cli bower

Yeoman is now installed with Node and NPM

Confirm Ruby is installed with:

ruby -v

Add Compass to your system gem file:

gem update --system && gem install compass

@aercolino
Copy link

sudo gem update --system

@l3x
Copy link

l3x commented Feb 21, 2016

You should not use sudo to install gems. Checkout rbenv at https://github.com/rbenv/rbenv

@lacivert
Copy link

lacivert commented Jul 1, 2017

After I installed node via brew, I could not find this file or directory: /usr/local/lib/node

Do I need to reboot or something?

@anfibiacreativa
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment