Skip to content

Latest commit

 

History

History
13 lines (13 loc) · 1.22 KB

homebrew.md

File metadata and controls

13 lines (13 loc) · 1.22 KB

Homebrew (package manager for Mac)

  1. ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" (installs homebrew)
  2. brew doctor (tells you whats wrong with homebrew's formulas, whats going in the 'cellar')
  3. brew update (updates homebrew)
  4. brew upgrade your-package-here (updates a given brew, like node, npm, yeoman, etc)
  5. brew link --overwrite your-package-here (forces symlink creation)
  6. brew prune (removes dead symlinks)
  7. brew [whatever] --dry-run (tells you whats going to happen before you do it)
  8. brew install your-package-here (installs whatever you want via homebrew, be careful when you install node via homebrew - leave npm out of the install and [follow these instructions] (https://gist.github.com/DanHerbert/9520689))
  9. /usr/local/Cellar (where Homebrew installs stuff)
  10. /usr/local/var/your-program-here (another place Homebrew apparently installs stuff)
  11. users/your-macosxname-here/.node (where Homebrew puts node's stuff, if you install via homebrew - you shouldnt do this! Use the node OSX installer instead)
  12. users/your-macosxname-here/.node/lib/node_modules (where npm installs stuff if you use Homebrew)