User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
mac:homebrew [2013/12/31 01:52]
Craig Buchek Add Homebrew Cask, so we can install binaries too.
mac:homebrew [2014/02/03 15:57] (current) [Installation] Change to system Applications directory.
Line 22: Line 22:
 sudo mkdir -p /​usr/​local/​Caskroom sudo mkdir -p /​usr/​local/​Caskroom
 sudo chown -R $USER /​usr/​local/​Caskroom sudo chown -R $USER /​usr/​local/​Caskroom
-export HOMEBREW_CASK_OPTS='​--caskroom=/​usr/​local/​Caskroom'​+export HOMEBREW_CASK_OPTS='​--appdir=/​Applications ​--caskroom=/​usr/​local/​Caskroom'​
 if ! grep '​HOMEBREW_CASK_OPTS'​ ~/.bashrc >/​dev/​null ; then if ! grep '​HOMEBREW_CASK_OPTS'​ ~/.bashrc >/​dev/​null ; then
   echo >> ~/.bashrc ''​   echo >> ~/.bashrc ''​
   echo >> ~/.bashrc '# Homebrew Cask'   echo >> ~/.bashrc '# Homebrew Cask'
-  echo >> ~/.bashrc "​export HOMEBREW_CASK_OPTS='​--caskroom=/​usr/​local/​Caskroom'"​+  echo >> ~/.bashrc "​export HOMEBREW_CASK_OPTS='​--appdir=/​Applications ​--caskroom=/​usr/​local/​Caskroom'"​
 fi fi
 </​code>​ </​code>​
 ===== Bash Completion ===== ===== Bash Completion =====
mac/homebrew.txt ยท Last modified: 2014/02/03 15:57 by