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

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.
主站蜘蛛池模板: 山丹县| 紫阳县| 庆云县| 临猗县| 宁河县| 凌云县| 浦江县| 塘沽区| 孟津县| 静乐县| 句容市| 筠连县| 潞城市| 黎平县| 襄汾县| 图片| 淮南市| 卢氏县| 平塘县| 洛扎县| 西青区| 包头市| 唐山市| 普定县| 唐山市| 红原县| 南京市| 全南县| 宿迁市| 城市| 东兴市| 蕲春县| 阳谷县| 托克逊县| 高台县| 清丰县| 锡林郭勒盟| 马边| 罗定市| 拜城县| 临湘市|