【MacOS】Homebrew的安装

official site:https://brew.sh

install Homebrew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Paste that in a macOS Terminal prompt. 上面这行复制到terminal,之后会让你输入Mac的密码,然后等待。

==> Installation successful!

成功!

输入 brew help获取基础知识:

Example usage:
  brew search [TEXT|/REGEX/]
  brew info [FORMULA...]
  brew install FORMULA...
  brew update
  brew upgrade [FORMULA...]
  brew uninstall FORMULA...
  brew list [FORMULA...]

Troubleshooting:
  brew config
  brew doctor
  brew install --verbose --debug FORMULA

Contributing:
  brew create [URL [--no-fetch]]
  brew edit [FORMULA...]

Further help:
  brew commands
  brew help [COMMAND]
  man brew
  https://docs.brew.sh

输入brew command,看有哪些命令:

Built-in commands
--cache         commands        install         readall         uninstall
--cellar        config          leaves          reinstall       unlink
--env           deps            link            search          unpack
--prefix        desc            list            sh              unpin
--repository    diy             log             shellenv        untap
--version       doctor          migrate         style           update
analytics       fetch           missing         switch          update-report
cask            gist-logs       options         tap             update-reset
cat             help            outdated        tap-info        upgrade
cleanup         home            pin             tap-pin         uses
command         info            postinstall     tap-unpin       vendor-install

Built-in developer commands
audit               extract             mirror              tap-new
bottle              formula             prof                test
bump-formula-pr     irb                 pull                tests
create              linkage             release-notes       update-test
edit                man                 ruby                vendor-gems

External commands
aspell-dictionaries                      postgresql-upgrade-database
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值