J'essaie de réparer Homebrew.
J'ai récemment essayé de le réinstaller mais quand j'ai tapé "brew doctor"
Mon résultat était :
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
The current working directory doesn't exist, cannot proceed.
J'ai essayé de le réinstaller en tapant à nouveau ceci dans la ligne de commande :
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Mais ma sortie est :
It appears Homebrew is already installed. If your intent is to reinstall you
should do the following before running this installer again:
rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup
Comment puis-je réparer mon installation Homebrew ?