Command line

Automate API testing in your pipeline

Run your API collections from the command line. Integrate with CI/CD, generate reports, and ship with confidence on every deploy.

zsh · bru run↻ replay
~/github-rest-api %
1 cmd
Run an entire collection
3 formats
HTML · JSON · JUnit
Any CI
GitHub, GitLab, Jenkins…
Get started

Quick installation

NPM

$ npm i -g @usebruno/cli

Homebrew

$ brew install bruno

Docker

$ docker pull usebruno/bruno
Capabilities

Built for automation

CI/CD integration

Works with GitHub Actions, GitLab CI, Jenkins, CircleCI, and any platform that runs a shell command.

Detailed reporting

Generate HTML, JSON, and JUnit reports. Export results into your monitoring and alerting systems.

Parallel execution

Run tests in parallel to save time. Supports CSV iterations and concurrent collection runs.

Full test support

Run complete collections with all tests, assertions, scripts, environments, and variables intact.

Reporting

Reports your whole team can read

Every run produces a shareable report, perfect for pull-request checks, nightly runs, and the status update leadership actually asks for.

HTML for humans, JUnit for pipelines, JSON for tooling
Exit codes that fail the build when a test fails
Drop-in artifact upload for any CI provider
Bruno HTML test report
Usage

Simple, powerful commands

# Run a collection
$ bru run ./collections/api-tests
# Run with an environment
$ bru run ./collections --env production
# Generate an HTML report
$ bru run ./collections --output report.html
# Fail on the first error
$ bru run ./collections --bail

Automate your testing

Start using Bruno CLI to bring API testing into every deploy.

Free and open source · Runs anywhere a shell does