LoginSignup
1
3

More than 5 years have passed since last update.

mac環境、brewとかpyenvとか 整理

Last updated at Posted at 2018-02-04

どのようになにをインストールしたのか覚えてなく、環境がグチャグチャしているので、整理した。大胆に整理。なので、何かが壊れるかも。そのときはまた考える。んで今後はbrewに統一します ;(

brewのuninstall

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"

pyenvのuninstall

~/.pyenv の 削除
bash profileとかの不要なところを直す

/usr/localの中身の整理

/usr/local/* の削除

もう一度brewのinstall

それで、もう一度brewのインストール。

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

gitが無いっていうのでgitのinstall
brew install git

もともとはpythonのバージョンが何故か上がらずエラーだったので、python最新のインストール。

brew install python3

これで一旦は整理完了。

1
3
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
3