Skip to content

Instantly share code, notes, and snippets.

@kentarosasaki
Last active October 1, 2017 12:37
Show Gist options
  • Save kentarosasaki/d5c4cd4842c2592d08ea37bec1ea9507 to your computer and use it in GitHub Desktop.
Save kentarosasaki/d5c4cd4842c2592d08ea37bec1ea9507 to your computer and use it in GitHub Desktop.
HomebrewをHomeディレクトリにインストールする ref: http://qiita.com/kentarosasaki/items/4dd493b95cd4caaaf167
cd ~/
mkdir homebrew
curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew
cat << 'EOF' >> ~/.bash_profile
export PATH=$HOME/homebrew/bin:$PATH
export HOMEBREW_CACHE=$HOME/homebrew/caches
EOF
exec -l $SHELL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment