# 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
- **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>
- **Dernière mise à jour:** 2026-07-26T11:37:56+02:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- fetch (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 0.4.8
## 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

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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
