Skip to content

Installation

Choose the installation method that works best for your system.

The fastest way to install rung on macOS or Linux:

Terminal window
curl -sSf https://rungstack.com/install.sh | sh

This script automatically detects your platform and installs the latest version.

Custom install directory (defaults to /usr/local/bin or ~/.local/bin):

Terminal window
INSTALL_DIR=~/bin curl -sSf https://rungstack.com/install.sh | sh

Download the .zip from releases and add to your PATH.

Terminal window
brew tap auswm85/rung https://github.com/auswm85/rung
brew install rung

If you have Rust installed:

Terminal window
cargo install rung-cli

Faster installation without compilation:

Terminal window
cargo binstall rung-cli

Clone and build from the repository:

Terminal window
git clone https://github.com/auswm85/rung
cd rung
cargo install --path crates/rung-cli

After installation, verify rung is available:

Terminal window
rung --version

You should see output like:

rung 0.1.0
  • Git 2.x — rung uses git2-rs for git operations
  • GitHub CLI (gh) authenticated, or GITHUB_TOKEN environment variable

rung needs GitHub access to create and manage pull requests. You have two options:

Install and authenticate the GitHub CLI:

Terminal window
# Install gh (if not already installed)
brew install gh # macOS
apt install gh # Ubuntu/Debian
winget install gh # Windows
# Authenticate
gh auth login

Set the GITHUB_TOKEN environment variable:

Terminal window
export GITHUB_TOKEN=ghp_your_token_here

Your token needs these scopes:

  • repo — Full control of private repositories
  • read:org — Read org membership (if using organization repos)

Once installed, head to the Quick Start guide to create your first stack.