Installation

How to install the Raterunner CLI

Installation

The Raterunner CLI can be installed on macOS, Linux, and Windows.

macOS

brew install raterunner/tap/raterunner

Manual Download

# Apple Silicon (M1/M2/M3)
curl -sL https://github.com/raterunner/cli/releases/download/v0.0.1/raterunner_0.0.1_darwin_arm64.tar.gz | tar xz
sudo mv raterunner /usr/local/bin/

# Intel
curl -sL https://github.com/raterunner/cli/releases/download/v0.0.1/raterunner_0.0.1_darwin_amd64.tar.gz | tar xz
sudo mv raterunner /usr/local/bin/

Linux

Package Managers

# Debian/Ubuntu
curl -sLO https://github.com/raterunner/cli/releases/download/v0.0.1/raterunner_0.0.1_linux_amd64.deb
sudo dpkg -i raterunner_0.0.1_linux_amd64.deb

# RHEL/Fedora/CentOS
curl -sLO https://github.com/raterunner/cli/releases/download/v0.0.1/raterunner_0.0.1_linux_amd64.rpm
sudo rpm -i raterunner_0.0.1_linux_amd64.rpm

# Alpine
curl -sLO https://github.com/raterunner/cli/releases/download/v0.0.1/raterunner_0.0.1_linux_amd64.apk
sudo apk add --allow-untrusted raterunner_0.0.1_linux_amd64.apk

Manual Download

# AMD64
curl -sL https://github.com/raterunner/cli/releases/download/v0.0.1/raterunner_0.0.1_linux_amd64.tar.gz | tar xz
sudo mv raterunner /usr/local/bin/

# ARM64
curl -sL https://github.com/raterunner/cli/releases/download/v0.0.1/raterunner_0.0.1_linux_arm64.tar.gz | tar xz
sudo mv raterunner /usr/local/bin/

Windows

Manual Download

Download the latest release from GitHub Releases:

  • raterunner_VERSION_windows_amd64.zip for 64-bit Windows
  • raterunner_VERSION_windows_arm64.zip for ARM64 Windows

Extract and add to your PATH.

Go Install

If you have Go 1.21+ installed:

go install github.com/raterunner/cli/cmd/raterunner@latest

Build from Source

git clone https://github.com/raterunner/cli.git
cd cli
make build
sudo mv bin/raterunner /usr/local/bin/

Verify Installation

After installation, verify it works:

raterunner --version

You should see output like:

raterunner version 0.0.1

Requirements

For sync operations, you'll need:

Set it as an environment variable:

export STRIPE_SANDBOX_KEY=sk_test_...
export STRIPE_PRODUCTION_KEY=sk_live_...

Next Steps

After installation:

  1. Initialize a project with raterunner init
  2. Configure your plans
  3. Sync to Stripe

On this page