LoginSignup
35
31

More than 5 years have passed since last update.

Homebrewがおかしくなったら再インストールしよう

Last updated at Posted at 2017-12-17

はじめに

YosemiteのときにHomebrewをインストールしたのですが、El Capitanで追加されたRootlessによってパーミッション周りがおかしくなり、Homebrewが使えなくなりました。
High Sierraまでずっと放置してHomebrewを使わずにいたのですが、やはり便利なので再インストールします。

環境

  • OS:macOS High Sierra 10.13.1
  • Ruby:ruby 2.3.3p222 (2016-11-21 revision 56859) [universal.x86_64-darwin17]

Homebrewの再インストール

アンインストールしてからインストールするだけです。

# Homebrewをアンインストールする
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"

# Homebrewをインストールする
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

参考リンク

35
31
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
35
31