Skip to main content
Bruno CLI provides a variety of command options to help you customize your API testing and execution process. These options allow you to specify environments, configure reports, handle security, and much more. Below is a comprehensive list of available options:

Options

To use options, add them to the bru run command after you specify the collection file or folder:
To view a list of available options for Bruno CLI, run the following command:

Basic options

Setup options

See Running a Collection with Environments for more details.

Request options

Secret Manager options

The --secrets-env-file flag is used together with --env when your environment file has an externalSecrets block configured. See Secret Managers for credential file formats and full usage examples for each provider.

SSL & Security options

--noproxy bypasses every proxy for a single run, and --client-cert-config points to a JSON file describing per-domain client certificates. The CLI does not read certificates from the desktop app’s Preferences, so mTLS in CI always goes through this flag. See Proxy & mTLS for the config file format and how CLI certificates are merged with the ones in bruno.json.

Output & Reporting options

The three reporter flags can be combined in one run to produce several formats at once, and the --reporter-skip-* flags let you keep credentials and payloads out of the artifacts you publish in CI. See Generate Reports for the output of each format, including the v4 change to the JUnit classname attribute.

Import options

Used with bru import openapi (and related import commands). Run bru import openapi -h for the full list. Use --output to write a collection to a directory, or --output-file to write a single collection JSON export. For directory imports, --collection-format chooses between OpenCollection YAML (the default) and classic .bru files. See Import Data for full examples, including importing from a URL and regenerating a collection whenever the spec changes in CI.

Examples

This will run all the requests in your collection.
copy
You can also run specific files or folders:
copy

Next Steps

Now that you’re familiar with the command options, explore these guides to get the most out of Bruno CLI:
  1. Command Examples - Learn how to execute your collections with the above command options
  2. Generate Reports - Create detailed test reports in multiple formats
  3. Import Data - Import OpenAPI and WSDL specifications into Bruno collections
  4. Proxy & mTLS - Route requests through a proxy and configure client certificates
  5. Secret Managers - Fetch secrets from HashiCorp Vault, AWS Secrets Manager, or Azure Key Vault at runtime

Support

If you encounter any issues or have any feedback or suggestions, please raise them on our GitHub repository