Last active
October 1, 2017 12:37
-
-
Save kentarosasaki/d5c4cd4842c2592d08ea37bec1ea9507 to your computer and use it in GitHub Desktop.
HomebrewをHomeディレクトリにインストールする ref: http://qiita.com/kentarosasaki/items/4dd493b95cd4caaaf167
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~/ | |
mkdir homebrew | |
curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat << 'EOF' >> ~/.bash_profile | |
export PATH=$HOME/homebrew/bin:$PATH | |
export HOMEBREW_CACHE=$HOME/homebrew/caches | |
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exec -l $SHELL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment