henriquehbr.xyz

Blog Supporters Resume
Part time open-sourcerer, Linux enthusiast, Rust fanatic

Install binaries from Github releases

October 11, 2021 — (Last edited on October 24, 2021)

In order to download a specific binary from the latest release of a repo, this simple one-liner can address this issue:

curl -O -L -s https://github.com/<USERNAME>/<REPOSITORY>/releases/download/
<VERSION>/<FILENAME>

Quick tip: in case you always want to download the latest release, you can replace the <VERSION> part of the URL with “latest”