Skip to content

Installation

Avinash Gupta edited this page Oct 18, 2026 · 1 revision

Installation

Every release ships static binaries (no libc, no Go toolchain) for Linux and macOS on amd64 and arm64, plus a multi-arch container image.

Method Command Best for
Homebrew brew install avinash-gupta-rdz/tap/rdstail macOS laptops
Install script curl -fsSL https://raw.githubusercontent.com/avinash-gupta-rdz/rdstail/main/install.sh | sh Linux hosts, CI
Direct download see below air-gapped / pinned installs
Docker docker pull ghcr.io/avinash-gupta-rdz/rdstail:0.5.0 containers, Kubernetes, ECS
Go go install github.com/avinash-gupta-rdz/rdstail/cmd/rdstail@latest Go developers
Source git clone … && make build contributors

Check it worked:

rdstail version

Install script

Detects OS/arch, verifies the SHA-256 against the release's checksums.txt, and installs to /usr/local/bin:

curl -fsSL https://raw.githubusercontent.com/avinash-gupta-rdz/rdstail/main/install.sh | sh

# pin a version / choose the directory
curl -fsSL https://raw.githubusercontent.com/avinash-gupta-rdz/rdstail/main/install.sh \
  | RDSTAIL_VERSION=v0.5.0 RDSTAIL_INSTALL_DIR=$HOME/bin sh

Read the script before piping it to a shell.

Direct download

OS amd64 arm64
Linux rdstail_linux_amd64.tar.gz rdstail_linux_arm64.tar.gz
macOS rdstail_darwin_amd64.tar.gz rdstail_darwin_arm64.tar.gz
curl -fsSLO https://github.com/avinash-gupta-rdz/rdstail/releases/latest/download/rdstail_linux_amd64.tar.gz
curl -fsSLO https://github.com/avinash-gupta-rdz/rdstail/releases/latest/download/checksums.txt
sha256sum --ignore-missing -c checksums.txt
tar -xzf rdstail_linux_amd64.tar.gz rdstail && sudo install -m 0755 rdstail /usr/local/bin/

These URLs always point at the latest release. Older versions are on the releases page.

macOS: a browser-downloaded binary is quarantined by Gatekeeper. Clear it with xattr -d com.apple.quarantine rdstail. Homebrew and the install script don't need this.

Docker

docker run --rm \
  -v $PWD/rdstail.yaml:/etc/rdstail/config.yaml:ro \
  -v rdstail-state:/home/nonroot \
  -p 127.0.0.1:9090:9090 \
  -e AWS_REGION=us-east-1 \
  ghcr.io/avinash-gupta-rdz/rdstail:0.5.0
  • The image is distroless and runs as nonroot (uid 65532). The default command is run -c /etc/rdstail/config.yaml.
  • Put state.path on a volume (here /home/nonroot/state.db) so checkpoints survive restarts. A named volume mounted at /home/nonroot is writable by the nonroot user out of the box.
  • Tags: 0.5.0 (exact), v0.5 (latest patch), latest. Pin an exact tag in production.
  • Credentials: pass AWS_* env vars, mount ~/.aws read-only at /home/nonroot/.aws, or use the platform's role (IRSA, ECS task role, EC2 instance profile; see Production Setup).

From source

git clone https://github.com/avinash-gupta-rdz/rdstail.git
cd rdstail
make build        # → bin/rdstail
make test

AWS permissions

Every command needs AWS credentials. Generate the least-privilege policy for your exact config instead of writing it by hand:

rdstail iam-policy -c rdstail.yaml

Details and the reference policy: Production Setup → IAM.

Next: Quick Start

Clone this wiki locally