LoginSignup
1
2

More than 5 years have passed since last update.

Homebrewをホームディレクトリに置く

Posted at

管理権限のないパソコンで、Homebrewを使う意味不明なことをしました。
そのときにしたことです。

やったことは簡単で、デフォルトのインストーラを使わず。
Githubからクローンして、PATHを通すだけです。

$ cd $HOME
$ git clone https://github.com/mxcl/homebrew.git
.bash_profile
$ export PATH=${HOME}/homebrew/bin:${PATH}
 $ brew install tree
 $ tree

どうでもよいですが、管理権限がないと /Library/ にアクセスして怒られます。

Homebrew/homebrew homebrew/Library/Homebrew/config.rb

を見ればわかりますが、

 $ mkdir -p ~/Library/Caches/Homebrew

こうすればよいです。

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2