Documentation Index
Fetch the complete documentation index at: https://mintlify.com/usebruno/bruno/llms.txt
Use this file to discover all available pages before exploring further.
Installing Bruno CLI
The Bruno CLI is distributed as an npm package (@usebruno/cli) and can be installed globally or as a project dependency.
Global Installation
Install Bruno CLI globally to use it across all your projects:Project Installation
Install as a development dependency in your project:package.json:
package.json
Version Information
Check the installed version:System Requirements
Node.js version: Bruno CLI requires Node.js 14 or higher.
- Node.js: v14.0.0 or higher
- npm: v6.0.0 or higher (or equivalent yarn/pnpm version)
- Operating Systems: Linux, macOS, Windows
CI/CD Environment Installation
For CI/CD pipelines, install as part of your build process:Docker Installation
Create a Dockerfile for running Bruno CLI tests:Dockerfile
Updating Bruno CLI
Keep your CLI up to date with the latest features:Troubleshooting
Command Not Found
Ifbru is not recognized after installation:
-
Check npm global path:
-
Add to PATH: Ensure the npm global bin directory is in your PATH:
-
Use npx: As an alternative, run without installing globally:
Permission Errors
On Linux/macOS, if you get permission errors during global installation:Next Steps
Running Tests
Learn how to run your API tests with the CLI
CLI Options
Explore all available command-line options