CLI Installation (Linux)
This guide helps you resolve issues when the Brev CLI installation command completes without output or errors, but the CLI is not installed.
Platform: Linux (reported on Ubuntu 22.04)
Problem
When installing the Brev CLI on Linux using the one-line install command:
The command completes without any output, logs, or error messages, and the Brev CLI is not installed.
Prerequisites
- Linux system (tested on Ubuntu 22.04)
curlinstalled and available in$PATH- Ability to run commands with
sudo - Outbound network access to
raw.githubusercontent.com
Solution
Download and run the install script directly instead of piping through a nested shell.
Verification
After running the installation script:
The brev --help command should display the CLI help output.
Rollback
To remove the installed CLI:
Why This Happens
The nested shell command sudo bash -c "$(curl ...)" can fail silently in certain shell configurations. Running the script directly provides better visibility into any errors that occur during installation.
Alternative Installation Methods
If the script installation continues to fail, you can install using Homebrew (if available on your system):
Or download the binary directly from the Brev CLI releases page.