bzl cli works like bazelisk: it recognizes the
environment variable as well as the
Any command not recognized by the CLI is passed through to bazel itself, so you
can use it as a drop-in replacement for the
The "bazelisk" features actually predate bazelisk; it's not a copycat. The
original interpreted the environment variable
BAZEL_VERSION as well as the
.bazelversion. This (and the filesystem layout for storing artifacts)
was later changed to
USE_BAZEL_VERSION to be bazelisk-compatible.
bzl tool borrows the
bazelrc format used by bazel.
$HOME/.bzlrc file is parsed on startup.
For example, you can change the bind port by adding the following to your