今天mac执行 brew install realpath 时,有报错
Warning: No available formula with the name "realpath".
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.
解决方法:
rm -rf /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core
brew update
且需要回到~目录下,否则还是会提示安装失败。
然后再次执行命令:brew install realpath