Sto cercando di riparare Homebrew.
Recentemente ho provato a reinstallarlo ma quando ho digitato "brew doctor"
Il mio risultato era:
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.
Ho provato a reinstallarlo digitandolo nuovamente nella riga di comando:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Ma il mio risultato è:
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
Come posso riparare la mia installazione di Homebrew?
Grazie.