Mac 卸载 valet

时间:2024-02-19 10:20:39

卸载 valet
1、卸载 valet uninstall
2、清除秘钥 valet unsecure --all
3、清除配置 rm -rf ~/.config/Valet
4、卸载包 composer global remove laravel/valet
5、卸载相关服务
① 卸载nginx brew uninstall --force php nginx dnsmasq
② 查看 卸载php
查看 brew list --formula | grep php
卸载其他版本PHP brew uninstall php@7.4
③ /usr/local/etc/ and /usr/local/logs/ 删除这两个路径下的程序文件

查看服务 brew services list
查看已安装软件 brew list --formula

卸载软件 brew uninstall nginx
命令行下查看php信息 php -i
brew cleanup nginx

关闭msyql brew services stop mysql@5.7