Skip to main content

Commands

Startup Options

Options that appear before the command and are parsed by the client Remote caching and execution options Miscellaneous options, not otherwise categorized.

Options Common to all Commands

Options that appear before the command and are parsed by the client Options that control build execution Options that configure the toolchain used for action execution Options that let the user configure the intended output, affecting its value, as opposed to its existence Options that affect how strictly Bazel enforces valid build inputs (rule definitions, flag combinations, etc.) This option affects semantics of the Starlark language or the build API accessible to BUILD files, .bzl files, or WORKSPACE files. Options relating to Bzlmod output and semantics Options that trigger optimizations of the build time Options that affect the verbosity, format or location of logging Remote caching and execution options Miscellaneous options, not otherwise categorized.

Aquery Options

Inherits all options from build. Options relating to query output and semantics Options that control build execution Options that configure the toolchain used for action execution Options that control the output of the command Options that let the user configure the intended output, affecting its value, as opposed to its existence Options that affect how strictly Bazel enforces valid build inputs (rule definitions, flag combinations, etc.) Options that affect the signing outputs of a build This option affects semantics of the Starlark language or the build API accessible to BUILD files, .bzl files, or WORKSPACE files. Options that govern the behavior of the test environment or test runner Options that trigger optimizations of the build time Options that affect the verbosity, format or location of logging Options specifying or altering a generic input to a Bazel command that does not fall into other categories. Miscellaneous options, not otherwise categorized.

Build Options

Options that control build execution Options that control the output of the command Options that let the user configure the intended output, affecting its value, as opposed to its existence Options that affect how strictly Bazel enforces valid build inputs (rule definitions, flag combinations, etc.) This option affects semantics of the Starlark language or the build API accessible to BUILD files, .bzl files, or WORKSPACE files. Options that govern the behavior of the test environment or test runner Options that trigger optimizations of the build time Options that affect the verbosity, format or location of logging Options specifying or altering a generic input to a Bazel command that does not fall into other categories. Remote caching and execution options Miscellaneous options, not otherwise categorized. Options that control build execution Options that configure the toolchain used for action execution Options that control the output of the command Options that let the user configure the intended output, affecting its value, as opposed to its existence Options that affect how strictly Bazel enforces valid build inputs (rule definitions, flag combinations, etc.) Options that affect the signing outputs of a build This option affects semantics of the Starlark language or the build API accessible to BUILD files, .bzl files, or WORKSPACE files. Options that govern the behavior of the test environment or test runner Options that trigger optimizations of the build time Options that affect the verbosity, format or location of logging Options specifying or altering a generic input to a Bazel command that does not fall into other categories. Miscellaneous options, not otherwise categorized.

Canonicalize-flags Options

Inherits all options from build. Options that control the output of the command This option affects semantics of the Starlark language or the build API accessible to BUILD files, .bzl files, or WORKSPACE files. Options specifying or altering a generic input to a Bazel command that does not fall into other categories. Miscellaneous options, not otherwise categorized.

Clean Options

Inherits all options from build. Options that control the output of the command

Config Options

Coverage Options

Inherits all options from test.

Cquery Options

Inherits all options from test. Options relating to query output and semantics Options that control build execution Options that configure the toolchain used for action execution Options that control the output of the command Options that let the user configure the intended output, affecting its value, as opposed to its existence Options that affect how strictly Bazel enforces valid build inputs (rule definitions, flag combinations, etc.) Options that affect the signing outputs of a build This option affects semantics of the Starlark language or the build API accessible to BUILD files, .bzl files, or WORKSPACE files. Options that govern the behavior of the test environment or test runner Options that trigger optimizations of the build time Options that affect the verbosity, format or location of logging Options specifying or altering a generic input to a Bazel command that does not fall into other categories. Miscellaneous options, not otherwise categorized.

Dump Options

Options that control the output of the command

Fetch Options

Inherits all options from test. Options that control build execution This option affects semantics of the Starlark language or the build API accessible to BUILD files, .bzl files, or WORKSPACE files. Options relating to Bzlmod output and semantics Miscellaneous options, not otherwise categorized. Options that control build execution Options that configure the toolchain used for action execution Options that control the output of the command Options that let the user configure the intended output, affecting its value, as opposed to its existence Options that affect how strictly Bazel enforces valid build inputs (rule definitions, flag combinations, etc.) Options that affect the signing outputs of a build This option affects semantics of the Starlark language or the build API accessible to BUILD files, .bzl files, or WORKSPACE files. Options that govern the behavior of the test environment or test runner Options that trigger optimizations of the build time Options that affect the verbosity, format or location of logging Options specifying or altering a generic input to a Bazel command that does not fall into other categories. Miscellaneous options, not otherwise categorized.

Help Options

Options that affect the verbosity, format or location of logging

Info Options

Inherits all options from build. Options that let the user configure the intended output, affecting its value, as opposed to its existence Options that affect the verbosity, format or location of logging

License Options

Mobile-install Options

Inherits all options from build. Options that control build execution Options that configure the toolchain used for action execution Options that control the output of the command Options that let the user configure the intended output, affecting its value, as opposed to its existence Options that affect the verbosity, format or location of logging

Mod Options

Options that control build execution Options that configure the toolchain used for action execution Options that control the output of the command Options that let the user configure the intended output, affecting its value, as opposed to its existence Options that affect how strictly Bazel enforces valid build inputs (rule definitions, flag combinations, etc.) This option affects semantics of the Starlark language or the build API accessible to BUILD files, .bzl files, or WORKSPACE files. Options that govern the behavior of the test environment or test runner Options relating to the output and semantics of the mod subcommand Options that affect the verbosity, format or location of logging Options specifying or altering a generic input to a Bazel command that does not fall into other categories. Miscellaneous options, not otherwise categorized. Inherits all options from build. Miscellaneous options, not otherwise categorized.

Query Options

Options that control build execution Options that configure the toolchain used for action execution Options that control the output of the command Options that let the user configure the intended output, affecting its value, as opposed to its existence Options that affect how strictly Bazel enforces valid build inputs (rule definitions, flag combinations, etc.) This option affects semantics of the Starlark language or the build API accessible to BUILD files, .bzl files, or WORKSPACE files. Options that govern the behavior of the test environment or test runner Options relating to query output and semantics Options that affect the verbosity, format or location of logging Options specifying or altering a generic input to a Bazel command that does not fall into other categories. Miscellaneous options, not otherwise categorized.

Run Options

Inherits all options from build. Options that appear before the command and are parsed by the client Options that let the user configure the intended output, affecting its value, as opposed to its existence Options that affect the verbosity, format or location of logging

Shutdown Options

Options that control the output of the command

Test Options

Inherits all options from build. Options that affect the verbosity, format or location of logging

Vendor Options

Inherits all options from test. Options that control build execution This option affects semantics of the Starlark language or the build API accessible to BUILD files, .bzl files, or WORKSPACE files. Options relating to Bzlmod output and semantics Miscellaneous options, not otherwise categorized. Options that control build execution Options that configure the toolchain used for action execution Options that control the output of the command Options that let the user configure the intended output, affecting its value, as opposed to its existence Options that affect how strictly Bazel enforces valid build inputs (rule definitions, flag combinations, etc.) Options that affect the signing outputs of a build This option affects semantics of the Starlark language or the build API accessible to BUILD files, .bzl files, or WORKSPACE files. Options that govern the behavior of the test environment or test runner Options that trigger optimizations of the build time Options that affect the verbosity, format or location of logging Options specifying or altering a generic input to a Bazel command that does not fall into other categories. Miscellaneous options, not otherwise categorized.

Version Options

Options that let the user configure the intended output, affecting its value, as opposed to its existence

Option Effect Tags

Option Metadata Tags