Tag: Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
sudo mkdir /opt/brew sudo chown sora:staff /opt/brew curl -L https://github.com/Homebrew/homebrew/tarball/master | tar xz --strip 1 -C /opt/brew
公式の方法は以下のコマンドを実行する
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
以下のリンクからたどれるuninstall scriptは動作しなくなっていた(2018/11/11(日)現在)
brew update
brew upgrade
brew cleanup
brew list > ~/brewlist brew uninstall $(cat ~/brewlist) brew install $(cat ~/brewlist)
brew search
brew search XXX
brew list
brew list --versions
brew install XXX
brew uninstall XXX
brew versions
brew info emacs
brew options emacs
/Library/Logs/Homebrew以下にログが出力される。
Warning: Some installed formula are missing dependencies. You should `brew install` the missing dependencies: brew install openssl@1.1
Warning: You have unlinked kegs in your Cellar Leaving kegs unlinked can lead to build-trouble and cause brews that depend on those kegs to fail to run properly once built. Run `brew link` on these: mysql55
brew tap --repair homebrew/versions
cd /usr/local git fetch origin git reset --hard origin/master
brew unpack foo -p
brew install --debug foo
brew update brew upgrade
brew update brew upgrade
brew link aaa --force
brew cleanup