1、背景
最近要用到telnet、redis-cli等,需要安装HomeBrew才能很快的安装这些
2、安装过程
-
HomeBrew官网:https://brew.sh/
-
或者直接在bash里面执行下面的语句,会提示输入当前用户密码:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
3、如果电脑之前没有安装Command_Line_Tools_for_Xcode
- 需要先下载安装:https://download.developer.apple.com/Developer_Tools/Command_Line_Tools_for_Xcode_13_Release_Candidate/Command_Line_Tools_for_Xcode_13_Release_Candidate.dmg