More than 1 year has passed since last update.

1. rubyからcurlを実行してインストール

ruby -e "$(curl -fsSL"


2. インストールできたか確認

brew doctor

「Your system is ready to brew.」と出ればOK


$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: Python is installed at /Library/Frameworks/Python.framework               *1

Homebrew only supports building against the System-provided Python or a
brewed Python. In particular, Pythons installed to /Library can interfere
with other software installs.

Warning: /usr/bin occurs before /usr/local/bin
This means that system-provided programs will be used instead of those
provided by Homebrew. The following tools exist at both paths:

Consider setting your PATH so that /usr/local/bin
occurs before /usr/bin. Here is a one-liner:
  echo 'export PATH="/usr/local/bin:$PATH"' >> ~/.bash_profile

(*1) 事前に、独自にPython3.xをインストーラで入れていたため、警告が出た。




①アプリケーションフォルダにある PythonX.X を削除

②/Library/Frameworks/Python.framework を削除

③/usr/local/bin にある /Library/Frameworks/Python.framework へのシンボリックリンクを削除


ls /usr/local/bin | grep -i python


cd /usr/local/bin
ls /usr/local/bin | grep -i python | xargs rm -f
brew prune
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account log in.