Bazel is a free, open-source build system that is designed to handle large, complex projects. It can be used to build a variety of languages including Java, C++, and Python among others. This tutorial will guide you through the process of installing Bazel on macOS.
Before you proceed, ensure that you have the following installed on your macOS:
xcode-select --install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew update
brew install python@3.9
brew install openjdk@11
echo 'export PATH="/usr/local/opt/openjdk@11/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
python3 --version
brew install bazel
bazel version
You have now successfully installed Bazel on your macOS. You can now begin to use Bazel to build your projects.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!