- Machine Learning Projects for Mobile Applications
- Karthikeyan NG
- 117字
- 2021-06-10 19:41:40
Installing using Homebrew
The following are the steps to install Homebrew:
- Homebrew has dependency with JDK, which you need to install first. Download the latest JDK from the Oracle website and install it.
- 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.