Installing Bearer

Installing Bearer can be done though multiple methods referenced below.

Install Script

The most common way to install Bearer is with the install script. It will auto-select the best build for your architecture. Defaults installation to ./bin and to the latest release version:

curl -sfL | sh

The default installation script works well for most use cases, but if you need more control you can customize the options by passing additional parameters.

  • -b: sets the installation directory (defaults to ./bin)
  • -d: enables debug logging
  • [tag]: specifies a tag release (defaults to the latest release)
curl -sfL | sh -s -- -b /usr/local/bin


Using Bearer's official Homebrew tap:

brew install bearer/tap/bearer


$ sudo apt-get install apt-transport-https
$ echo "deb [trusted=yes] /" | sudo tee -a /etc/apt/sources.list.d/fury.list
$ sudo apt-get update
$ sudo apt-get install bearer


Add repository setting:

$ sudo vim /etc/yum.repos.d/fury.repo
name=Gemfury Private Repo

Then install with yum:

$ sudo yum -y update
$ sudo yum -y install bearer


Bearer is also available as a Docker image on Docker Hub and

With docker installed, you can run the following command with the appropriate paths in place of the examples.

docker run --rm -v /path/to/repo:/tmp/scan bearer/bearer:latest-amd64 scan /tmp/scan

Additionally, you can use docker compose. Add the following to your docker-compose.yml file and replace the volumes with the appropriate paths for your project:

version: "3"
platform: linux/amd64
image: bearer/bearer:latest-amd64
- /path/to/repo:/tmp/scan

Then, run the docker compose run command to run Bearer with any specified flags:

docker compose run bearer scan /tmp/scan --debug


Download the archive file for your operating system/architecture from here.

Unpack the archive, and put the binary somewhere in your $PATH (on UNIX-y systems, /usr/local/bin or the like). Make sure it has permission to execute.