Friday, December 21, 2012

Modifying the HomeBrew Temp Directory

Recently I switched OS X Mountain Lion to map /private/tmp to a RamDisk.  I was inspired to do this after I read this article - http://blog.alutam.com/2012/04/01/optimizing-macos-x-lion-for-ssd/

For various reasons, I also needed to move my HomeBrew temp directory out of the RamDisk.  To do this simply add an environment variable and set the location to the correct place -


In your ~/.profile or ~/.bash_profile add  HOMEBREW_TEMP and set it to the non-RamDrive temp directory:
export HOMEBREW_TEMP=/new/path 
Post a Comment