macOS
brew install fetchlocal Homebrew formula metadata
sudo port install fetchMacPorts ports tree · net/fetch/Portfile · 来源: api.github.com
安装
brew install fetchlocal Homebrew formula metadata
sudo port install fetchMacPorts ports tree · net/fetch/Portfile · 来源: api.github.com
sudo apk add fetchAlpine Linux edge package indexes · fetch · 来源: dl-cdn.alpinelinux.org
winget install --id MattWhitwam.Fetch -eWindows Package Manager source index · MattWhitwam.Fetch · 来源: cdn.winget.microsoft.com
概览
Download assets from a commit, branch, or tag of GitHub repositories
历史
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.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
fetch | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/gruntwork-io/fetch
安装元数据
| 软件包键 | 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 |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.