项目场景:
在使用命令行安装东西的时候提示
错误提示:zsh: command not found: brew
解决方案:
Mac安装 homebrew
使用一下命令安装,
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
使用中科大的。
最后使用命令:
brew install wget
验证:
来安装个redis试试
wget https://download.redis.io/releases/redis-6.0.8.tar.g
OK,没有问题,安装成功。