# Installer fetch avec Homebrew, apk, MacPorts, Nix, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de fetch pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:fetch
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install fetch
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install fetch
```

  Preuve: MacPorts ports tree: net/fetch/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add fetch
```

  Preuve: Alpine Linux edge package indexes: fetch from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#fetch
```

  Preuve: nixpkgs package indexes: pkgs/by-name/fe/fetch/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- winget (92%):

```sh
winget install --id MattWhitwam.Fetch -e
```

  Preuve: Windows Package Manager source index: MattWhitwam.Fetch from https://cdn.winget.microsoft.com/cache/source.msix

## Faits du paquet

- **Clé du paquet:** brew:fetch
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/fetch>
- **Version:** 0.4.8
- **Résumé source:** Download assets from a commit, branch, or tag of GitHub repositories
- **Page d'accueil:** <https://www.gruntwork.io/>
- **Dépôt:** <https://github.com/gruntwork-io/fetch>
- **Docs amont:** <https://www.gruntwork.io/>
- **Licence:** MIT
- **Archive source:** <https://github.com/gruntwork-io/fetch/archive/refs/tags/v0.4.8.tar.gz>
- **Dernière mise à jour:** 2026-07-26T11:37:56+02:00
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- fetch (cli)
- fetch (alias)

## Dépendances de compilation

- go

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 0.4.8
- gestionnaire mis à jour: 2026-07-26
- données locales: OK
- dépôt amont: https://github.com/gruntwork-io/fetch
- dernière version détectée: v0.4.8 (à jour)
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

- <https://github.com/gruntwork-io/fetch>
- <https://raw.githubusercontent.com/gruntwork-io/fetch/master/README.md>
- <https://api.github.com/repos/gruntwork-io/fetch>


## Notes de sécurité

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

- **Risque Geiger:** blue / moyen
- broad file, network, media, or database tool signal

## Détails de la base source

- **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:** head, stable

## Autres enregistrements de gestionnaires de paquets

- Nix - fetch: normalized package name match | nixpkgs package indexes: pkgs/by-name/fe/fetch/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - fetch - 14.0.0-r0: normalized package name match | Alpine Linux edge package indexes: fetch from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Portable fetch utility from FreeBSD | https://github.com/jrmarino/fetch-freebsd
- apk - fetch-dev - 14.0.0-r0: normalized package name match | Alpine Linux edge package indexes: fetch-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Portable fetch utility from FreeBSD (development files) | https://github.com/jrmarino/fetch-freebsd
- apk - fetch-doc - 14.0.0-r0: normalized package name match | Alpine Linux edge package indexes: fetch-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Portable fetch utility from FreeBSD (documentation) | https://github.com/jrmarino/fetch-freebsd
- apk - libfetch - 14.0.0-r0: normalized package name match | Alpine Linux edge package indexes: libfetch from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Portable fetch utility from FreeBSD (libraries) | https://github.com/jrmarino/fetch-freebsd
- MacPorts - fetch: normalized package name match | MacPorts ports tree: net/fetch/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- winget - MattWhitwam.Fetch: normalized package name match | Windows Package Manager source index: MattWhitwam.Fetch from https://cdn.winget.microsoft.com/cache/source.msix


## Liens liés

- [Source-control packages](https://pkg.so/fr/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/fr/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [go](https://pkg.so/fr/brew/go/) - Build dependency declared by Homebrew.
- [git-spice](https://pkg.so/fr/brew/git-spice/) - Shares pkgdb curated category or tags: cli, developer-tools, github, gitlab.
- [ghorg](https://pkg.so/fr/brew/ghorg/) - Shares pkgdb curated category or tags: cli, developer-tools, github, gitlab.
- [gcli](https://pkg.so/fr/brew/gcli/) - Shares pkgdb curated category or tags: cli, developer-tools, github, gitlab.
- [scmpuff](https://pkg.so/fr/brew/scmpuff/) - Shares pkgdb curated category or tags: cli, developer-tools, source-control.
- [dra](https://pkg.so/fr/brew/dra/) - Shares pkgdb curated category or tags: cli, developer-tools, download, github.
- [scm-manager](https://pkg.so/fr/brew/scm-manager/) - Shares pkgdb curated category or tags: cli, developer-tools, source-control.
- [multi-gitter](https://pkg.so/fr/brew/multi-gitter/) - Shares pkgdb curated category or tags: cli, developer-tools, github, gitlab.
- [sugarjar](https://pkg.so/fr/brew/sugarjar/) - Shares pkgdb curated category or tags: cli, developer-tools, github, gitlab.

## Combined YAML source

View the package source record on GitHub. [combined/fetch.yml](https://github.com/mxcl/pkgdb/blob/main/combined/fetch.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
