Step1 安装homebrew homebrew是macOS常用的一种软件包管理工具,使用它我们可以实现快速安装/卸载/更新/管理我们的软件。 方法1 直接从官网下载* /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" 方法2 使用国内镜像源 参考:https://blog.csdn.net/ayqy42602/article/details/107381433?utm_medium=distribute.pc_relevant.none-task-blog-2defaultbaidujs_title~default-0.no_search_link&spm=1001.2101.3001.4242.1