官术网_书友最值得收藏!

Installing using Homebrew

The following are the steps to install Homebrew:

  1. Homebrew has dependency with JDK, which you need to install first. Download the latest JDK from the Oracle website and install it.
  2. Then, install Homebrew.

You can run the following script directly from Terminal:

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

Once Homebrew is installed, you can install Bazel with the following command:

brew install bazel

All is well. Now, you can verify the Bazel version using the command shown here:

bazel version

If Bazel is already installed, you can upgrade the version using this command:

brew upgrade bazel
Note that Bazel does not currently support Android builds on Windows. Windows users should download the pre-built binary.
主站蜘蛛池模板: 分宜县| 东光县| 偏关县| 嘉黎县| 兴隆县| 上林县| 凌云县| 龙州县| 宾川县| 阿克苏市| 方山县| 上饶市| 彭泽县| 鹰潭市| 凌源市| 杭锦旗| 河北省| 凤翔县| 金川县| 余干县| 沛县| 屏东县| 永吉县| 东城区| 永仁县| 宜黄县| 昭通市| 镇江市| 中西区| 偃师市| 新宾| 淳安县| 于田县| 建平县| 灵川县| 教育| 信丰县| 五台县| 江山市| 邵武市| 云南省|