Skip to content

Installation

The quickest way to install Runbooks is to download the pre-built binaries from the GitHub releases page.

Using curl (Apple Silicon M1/M2/M3/etc.):

Terminal window
# Download the latest release
curl -Lo runbooks https://github.com/gruntwork-io/runbooks/releases/latest/download/runbooks_darwin_arm64
# Make it executable
chmod +x runbooks
# Move to your PATH
sudo mv runbooks /usr/local/bin/

Using curl (Intel Mac):

Terminal window
# Download the latest release
curl -Lo runbooks https://github.com/gruntwork-io/runbooks/releases/latest/download/runbooks_darwin_amd64
# Make it executable
chmod +x runbooks
# Move to your PATH
sudo mv runbooks /usr/local/bin/

As an alternative to downloading pre-built binaries, you can build the binaries yourself:

  1. Clone the repository:

    Terminal window
    git clone https://github.com/gruntwork-io/runbooks.git
    cd runbooks
  2. Build the frontend:

    Terminal window
    cd web
    bun install
    bun run build
  3. Build the binary:

    Terminal window
    go build -o runbooks main.go
  4. Move the binary to your PATH (optional):

    Terminal window
    sudo mv runbooks /usr/local/bin/
  5. Enable execute permissions for your binary

    Terminal window
    chmod u+x /usr/local/bin/runbooks
  6. Verify installation:

    Terminal window
    runbooks

Once installed, you can verify that runbooks is working by running:

Terminal window
runbooks version

Now that you have Runbooks installed, let’s write your first runbook!