Due to a ransomware attack, the wiki was reverted to a July 2022 version. . We apologize for the lack of a more recent valid backup.
...
Bazelisk should be downloaded and installed as a drop in replacement for the "bazel" command. It is recommended not to download Bazel directly yourself - let Bazelisk get the right version for you!
On Linux use
Code Block |
---|
$ wget https://github.com/bazelbuild/bazelisk/releases/download/v1.4.0/bazelisk-darwinlinux-amd64 $ chmod +x bazelisk-darwinlinux-amd64 $ sudo mv bazelisk-darwinlinux-amd64 /usr/local/bin/bazel $ cd ~/onos $ bazel version |
Alternatively, on macOS, Bazelisk can be installed via theĀ Brew package manager:
...