Automic VaultAutomic Vault

brew

Install fetch with Homebrew, apk, MacPorts, winget

Download assets from a commit, branch, or tag of GitHub repositories. Version 0.4.8 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install fetch

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install fetch

MacPorts ports tree · net/fetch/Portfile · source: api.github.com

Windows

Windows Package Managerverified · 92%
winget install --id MattWhitwam.Fetch -e

Windows Package Manager source index · MattWhitwam.Fetch · source: cdn.winget.microsoft.com

overview

Package summary

Download assets from a commit, branch, or tag of GitHub repositories

Commands and aliases

  • fetch

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2016: Public GitHub repository created.
  • 2016 onward: README positions fetch around downloading versioned scripts, folders, and release assets from GitHub repositories.
  • README status note: GitLab support covers public, private, nested-group, and self-hosted repositories.

Related projects

  • fetch overlaps with curl, wget, GitHub Releases, GitLab releases, and semantic-version tooling, but focuses on authenticated, version-selected repository and release-asset downloads.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:download

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
fetchcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.4.8
manager updated
local dataok
upstreamcurrent
latest detectedv0.4.8

https://github.com/gruntwork-io/fetch

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:fetch
Version0.4.8
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/fetch
Homepagehttps://www.gruntwork.io/
Repositoryhttps://github.com/gruntwork-io/fetch
Upstream docshttps://github.com/gruntwork-io/fetch#readme
LicenseMIT
Source archivehttps://github.com/gruntwork-io/fetch/archive/refs/tags/v0.4.8.tar.gz
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namefetch
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

apk95%

fetch 14.0.0-r0

Portable fetch utility from FreeBSD

https://github.com/jrmarino/fetch-freebsd

sudo apk add fetch
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: fetch
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Fetch
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: fetch from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

fetch-dev 14.0.0-r0

Portable fetch utility from FreeBSD (development files)

https://github.com/jrmarino/fetch-freebsd

sudo apk add fetch-dev
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: fetch
  • 1 dependencies
  • normalized package name match
  • Matched by: Fetch
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: fetch-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

fetch-doc 14.0.0-r0

Portable fetch utility from FreeBSD (documentation)

https://github.com/jrmarino/fetch-freebsd

sudo apk add fetch-doc
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: fetch
  • normalized package name match
  • Matched by: Fetch
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: fetch-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

libfetch 14.0.0-r0

Portable fetch utility from FreeBSD (libraries)

https://github.com/jrmarino/fetch-freebsd

sudo apk add libfetch
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: fetch
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Fetch
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libfetch from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
MacPorts95%

fetch

sudo port install fetch
  • normalized package name match
  • Matched by: Fetch
MacPorts ports tree · api.github.com · MacPorts ports tree: net/fetch/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
winget95%

MattWhitwam.Fetch

winget install --id MattWhitwam.Fetch -e
  • normalized package name match
  • Matched by: Fetch
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: MattWhitwam.Fetch from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment