1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

brewの再インストール

Last updated at Posted at 2025-06-11

自分用

echo "$(id -un) ALL=(ALL:ALL) NOPASSWD:ALL" | sudo tee -a /etc/sudoers
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
sudo rm -rf /opt/homebrew /usr/local/Homebrew /usr/local/Caskroom /usr/local/bin/brew
sudo rm -rf ~/Library/Caches/Homebrew ~/Library/Logs/Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo "eval \"\$(/usr/local/bin/brew shellenv)\"" >> ~/.zprofile

Ctrl+C, Ctrl+D

brew install node
brew install watchman
brew install cocoapods
brew link --overwrite cocoapods
1
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?