Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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:

...