CLI tool to download and install release assets from GitHub repositories
dra is a command-line tool for downloading release assets from GitHub repositories. It provides both interactive and non-interactive modes for selecting assets, with the ability to automatically detect and download the appropriate asset based on your operating system and architecture. Unlike the official GitHub CLI, dra works without authentication for public repositories and includes built-in pattern generation for asset selection.
The tool supports various download patterns including literal names, untagged patterns (version-free), and wildcard matching. It can automatically install downloaded assets, supporting multiple formats including Debian packages, RPM packages, tar/zip archives, compressed executables, and AppImage files. When installing from archives containing multiple executables, dra can automatically detect which executable to install or allow manual specification via the -I flag.
dra handles authentication through GitHub personal access tokens or the GitHub CLI token, with support for private repositories and rate limit avoidance. It includes shell completion generation and provides options for custom output paths, specific release tags, and source code archive downloads. The tool is designed for developers who frequently download GitHub release assets and need a more streamlined workflow than manually browsing release pages or constructing complex gh commands.
# via Homebrew
brew install dra
# via Arch Linux
pacman -S dra
# via Install Script
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/devmatteini/dra/refs/heads/main/install.sh | bash -s -- --to <DESTINATION>
