Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
解决:
删除这些文件,如果文件很多的话,可以吧文件路径保存在一个文件里面,然后执行命令删除
命令如下
cat headers.txt | xargs rm
卸载:
命令行执行
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
安装
去官网复制