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.
...
Code Block |
---|
$ wget https://github.com/bazelbuild/bazelisk/releases/download/v1.4.0/bazelisk-darwin-amd64 $ chmod +x bazelisk-darwin-amd64 $ sudo mv bazelisk-darwin-amd64 /usr/local/bin/bazel $ cd ~/onos $ bazel version |
On Alternatively, on macOS, Bazelisk can be installed via theĀ Brew package manager:
Code Block | ||
---|---|---|
| ||
$ brew install bazelisk $ echo 'alias bazel="bazelisk"' >> ~/.bash_profile # if you use BASH, or ~/.zshrc is you use ZSHln -s $(which bazelisk) /usr/local/bin/bazel # Create symlink to use as a drop-in replacement to the bazel command $ cd ~/onos $ bazel version |
...