Project: /_project.yaml Book: /_book.yaml
{% include “_buttons.html” %}
Bazelisk{: .external} is the recommended way to install Bazel on Ubuntu, Windows, and macOS. It automatically downloads and installs the appropriate version of Bazel. Use Bazelisk if you need to switch between different versions of Bazel depending on the current working directory, or to always keep Bazel updated to the latest release.
For more details, see the official README{: .external}.
Bazel has a backward compatibility policy (see guidance for rolling out incompatible changes if you are the author of one). That page summarizes best practices on how to test and migrate your project with upcoming incompatible changes and how to provide feedback to the incompatible change authors.
Bazelisk{: .external} helps you manage Bazel versions.
Bazelisk can:
Within minor updates to any LTS release, any project can be prepared for the next release without breaking compatibility with the current release. However, there may be backward-incompatible changes between major LTS versions.
Follow this process to migrate from one major version to another:
--incompatible_*
flag and a corresponding GitHub issue:After migration, you can continue to build your projects without worrying about backward-compatibility until the next major release.