Automic VaultAutomic Vault

brew

使用 Homebrew, apk, MacPorts, winget 安装 fetch

查看 fetch 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install fetch

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install fetch

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

Windows

Windows Package Manager已验证 · 92%
winget install --id MattWhitwam.Fetch -e

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

概览

软件包摘要

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

命令和别名

  • fetch

历史

项目历史与用法

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.

时间线

  • 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.

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:download

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
fetchcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.4.8
管理器更新时间2026-07-23
本地数据OK
上游当前
检测到的最新版本v0.4.8

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

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:fetch
版本0.4.8
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/fetch
主页https://www.gruntwork.io/
仓库https://github.com/gruntwork-io/fetch
上游文档https://github.com/gruntwork-io/fetch#readme
许可证MIT
源码归档https://github.com/gruntwork-io/fetch/archive/refs/tags/v0.4.8.tar.gz
最后更新2026-07-23T00:39:39-04:00
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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