A command line tool to download release assets from GitHub.
DRA (Download Release Assets) is a command line tool that simplifies downloading release assets from GitHub repositories. Unlike the official GitHub CLI, dra works without authentication for public repositories and provides intelligent asset selection capabilities, making it particularly useful for automation scripts and CI/CD pipelines.
The tool offers multiple download modes including interactive selection, automatic detection based on your operating system and architecture, and pattern-based selection using wildcards or version-free patterns. This eliminates the need to manually craft complex glob patterns or remember exact asset names across different releases.
DRA goes beyond simple downloading by supporting asset installation for common formats like tar/zip archives, deb/rpm packages, compressed executables, and AppImage files. It can automatically extract archives, install packages with appropriate privileges, and place executables in custom directories. The tool is designed for developers, system administrators, and anyone who frequently downloads and installs software releases from GitHub repositories.
# via Homebrew
brew install dra
# via Arch Linux
pacman -S dra
# via Automated script
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/devmatteini/dra/refs/heads/main/install.sh | bash -s -- --to <DESTINATION>
