macOS
brew install fetchlocal Homebrew formula metadata
sudo port install fetchMacPorts ports tree · net/fetch/Portfile · source: api.github.com
brew
Download assets from a commit, branch, or tag of GitHub repositories. Version 0.4.8 via Homebrew; verified from local package data.
install
brew install fetchlocal Homebrew formula metadata
sudo port install fetchMacPorts ports tree · net/fetch/Portfile · source: api.github.com
sudo apk add fetchAlpine Linux edge package indexes · fetch · source: dl-cdn.alpinelinux.org
winget install --id MattWhitwam.Fetch -eWindows Package Manager source index · MattWhitwam.Fetch · source: cdn.winget.microsoft.com
overview
Download assets from a commit, branch, or tag of GitHub repositories
history
Gruntwork's fetch is a release-asset and repository-content downloader for GitHub and GitLab repositories. It exists to turn a versioned repository reference into an installable file, directory, or binary asset with less shell scripting around API calls and authentication.
The README explains the tool's origin in Gruntwork's need to publish scripts and binaries that clients could install at a specific version. The public repository was created in 2016, and the tool grew around the practical cases that were awkward with a bare curl or wget command: private repositories, JSON API responses, release assets, authentication, checksums, and semantic-version tag constraints.
Official installation guidance treats Homebrew packages as third-party convenience packages and recommends GitHub Releases for release binaries. The tool's adoption story is therefore centered on infrastructure teams consuming versioned assets from Git hosting services rather than a large ecosystem of plugins or libraries.
Common usage is a one-liner such as fetch --repo=... --tag=... --source-path=... /tmp/path. The CLI can select a branch, commit, tag, or tag constraint, download selected paths or release assets, verify SHA256 or SHA512 checksums, and use environment variables such as GITHUB_OAUTH_TOKEN or GITLAB_TOKEN for private repositories.
fetch is package-manager-adjacent: it is not a package manager, but it solves the same reproducibility itch for teams distributing small tools out of Git releases. Package nerds care because it codifies a common bootstrap pattern without requiring every installer script to hand-roll GitHub or GitLab API plumbing.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
fetch | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/gruntwork-io/fetch
install metadata
| Package key | brew:fetch |
|---|---|
| Version | 0.4.8 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/fetch |
| Homepage | https://www.gruntwork.io/ |
| Repository | https://github.com/gruntwork-io/fetch |
| Upstream docs | https://github.com/gruntwork-io/fetch#readme |
| License | MIT |
| Source archive | https://github.com/gruntwork-io/fetch/archive/refs/tags/v0.4.8.tar.gz |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | fetch |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
fetch 14.0.0-r0
Portable fetch utility from FreeBSD
https://github.com/jrmarino/fetch-freebsd
sudo apk add fetchfetch-dev 14.0.0-r0
Portable fetch utility from FreeBSD (development files)
https://github.com/jrmarino/fetch-freebsd
sudo apk add fetch-devfetch-doc 14.0.0-r0
Portable fetch utility from FreeBSD (documentation)
https://github.com/jrmarino/fetch-freebsd
sudo apk add fetch-doclibfetch 14.0.0-r0
Portable fetch utility from FreeBSD (libraries)
https://github.com/jrmarino/fetch-freebsd
sudo apk add libfetchfetch
sudo port install fetchMattWhitwam.Fetch
winget install --id MattWhitwam.Fetch -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.