download bazel code example
Example: bazel instal
brew tap bazelbuild/tap
brew install bazelbuild/tap/bazel
bazel --version
sudo apt install curl gnupg
curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add -
echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
sudo apt update && sudo apt install bazel
sudo apt update && sudo apt full-upgrade
sudo apt install bazel-1.0.0
sudo apt install openjdk-8-jdk
sudo apt install openjdk-11-jdk