Skip to content

Instantly share code, notes, and snippets.

@DoZator
Last active April 27, 2016 07:15
Show Gist options
  • Save DoZator/04c151a5a5907104dd46b59828b824ad to your computer and use it in GitHub Desktop.
Save DoZator/04c151a5a5907104dd46b59828b824ad to your computer and use it in GitHub Desktop.
Install Node.JS (OS X)

Install Node.JS with Homebrew (OS X)

    brew install node

Add to .bash_profile

  export NPM_PACKAGES="$HOME/.npm-packages"
  export NODE_PATH="$NPM_PACKAGES/lib/node_modules:$NODE_PATH"

Create .npmrc

  mkdrir ~/.npmrc 

Add to .npmrc

prefix=${HOME}/.npm-packages

Install bower, supervisor

  npm i -g bower
  npm i -g supervisor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment