mac os入门之安装 brew

 文档:The Missing Package Manager for macOS (or Linux) — Homebrew

1.简介

​Homebrew 安装了Apple(或 Linux 系统)不需要的东西。  ​

Homebrew 将软件包安装到自己的目录,然后将文件符号链接到/usr/local

Homebrew 不会在其目录之外安装文件,可以将 Homebrew 安装放置喜欢的任何位置。

2.安装

需要在命令行执行脚本来安装,安装完必须执行 Next Steps,否则找不到命令

% /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

==> Checking for `sudo` access (which may request your password)...
Password:
==> This script will install:
/opt/homebrew/bin/brew
/opt/homebrew/share/doc/homebrew
/opt/homebrew/share/man/man1/brew.1
/opt/homebrew/share/zsh/site-functions/_brew
/opt/homebrew/etc/bash_completion.d/brew
/opt/homebrew

Press RETURN/ENTER to continue or any 

猜你喜欢

转载自blog.csdn.net/qq_27868061/article/details/127228721