# Installer onefetch avec Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, scoop, winget

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

## installation

```sh
sudo av install brew:onefetch
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install onefetch
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install onefetch
```

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

### Linux

- apk (92%):

```sh
sudo apk add onefetch
```

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

- dnf (92%):

```sh
sudo dnf install onefetch
```

  Preuve: Fedora Rawhide package metadata: onefetch from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#onefetch
```

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

- pacman (92%):

```sh
sudo pacman -S onefetch
```

  Preuve: Arch Linux sync databases: onefetch from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install onefetch
```

  Preuve: openSUSE Tumbleweed package metadata: onefetch from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install extras/onefetch
```

  Preuve: Scoop official bucket manifest trees: bucket/onefetch.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id o2sh.onefetch -e
```

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

## Faits du paquet

- **Clé du paquet:** brew:onefetch
- **Gestionnaire de paquets:** Homebrew
- **Version:** 2.27.1
- **Résumé source:** Command-line Git information tool
- **Page d'accueil:** <https://onefetch.dev/>
- **Dépôt:** <https://github.com/o2sh/onefetch>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- onefetch (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 2.27.1
## Historique du projet et usages

Onefetch is a Rust command-line tool that summarizes a local Git repository in the terminal. It reads repository metadata and code statistics offline, then displays them with language-aware styling and ASCII art.

### Historique du projet

The project developed as a fetch-style tool for repositories rather than machines: instead of reporting OS, kernel, and hardware information, it reports project name, branch, commit and author statistics, language mix, license, repository size, and related Git metadata.

The changelog shows the tool maturing through performance and packaging work. Version 2.13.0 in 2022 made execution more than twice as fast by reducing allocations and moving expensive Git work toward gitoxide; version 2.20.0 in 2024 marked completion of the transition from git2/libgit2 to gitoxide.

### Historique d'adoption

Onefetch spread through developer package channels rather than a single platform. Its README documents installation on Linux, macOS, and Windows using release binaries plus package managers such as pacman, zypper, Homebrew, and winget, while the wiki also documents Ubuntu, Snap, Chocolatey, and other routes.

Language coverage became part of its adoption loop. onefetch.dev displays the supported language ASCII previews from the same Languages.yaml data used by the binary, and the site lists 122 languages with programming, data, markup, and prose categories.

### Modes d'utilisation

A developer runs onefetch inside a Git worktree or passes a repository path. The tool can be used as a one-off repository summary, a shell greeter when entering Git directories, or a machine-readable metadata extractor through JSON and YAML output modes.

The README emphasizes offline operation, performance, and customization: users can hide fields, adjust styling, ignore files and directories, choose output formats, and use .mailmap to merge duplicate authors found in Git history.

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

Onefetch is notable because it packages repository anthropology into a single CLI: language detection, Git traversal, manifest/license parsing, author aggregation, and terminal presentation. Its migration to gitoxide is also a package-nerd signal, replacing libgit2 bindings with a Rust-native Git stack.

### Chronologie

- 2022: version 2.13.0 introduced major speed work and the onefetch.dev ASCII preview site.
- 2024: version 2.20.0 completed the transition from git2 to gitoxide.
- 2026: the Homebrew formula page lists 2.27.1 as the stable packaged version.

### Related projects

- The project depends conceptually on Git metadata and implementation-wise on Rust Git tooling. Its output style belongs to the wider family of terminal fetch utilities, while its data source is the repository rather than the host system.

### Sources

- <https://formulae.brew.sh/formula/onefetch>
- <https://github.com/o2sh/onefetch>
- <https://github.com/o2sh/onefetch/wiki/installation>
- <https://onefetch.dev/>
- <https://raw.githubusercontent.com/o2sh/onefetch/main/CHANGELOG.md>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- Nix - onefetch: normalized package name match | nixpkgs package indexes: pkgs/by-name/on/onefetch/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - onefetch - 2.26.1-r0: normalized package name match | Alpine Linux edge package indexes: onefetch from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Git repository summary on your terminal | https://github.com/o2sh/onefetch
- apk - onefetch-bash-completion - 2.26.1-r0: normalized package name match | Alpine Linux edge package indexes: onefetch-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for onefetch | https://github.com/o2sh/onefetch
- apk - onefetch-doc - 2.26.1-r0: normalized package name match | Alpine Linux edge package indexes: onefetch-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Git repository summary on your terminal (documentation) | https://github.com/o2sh/onefetch
- apk - onefetch-fish-completion - 2.26.1-r0: normalized package name match | Alpine Linux edge package indexes: onefetch-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for onefetch | https://github.com/o2sh/onefetch
- apk - onefetch-zsh-completion - 2.26.1-r0: normalized package name match | Alpine Linux edge package indexes: onefetch-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for onefetch | https://github.com/o2sh/onefetch
- dnf - onefetch - 2.27.1-9.fc45: normalized package name match | Fedora Rawhide package metadata: onefetch from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Command-line Git information tool | https://crates.io/crates/onefetch
- pacman - onefetch - 2.27.1-1: normalized package name match | Arch Linux sync databases: onefetch from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Git repository summary on your terminal | https://github.com/o2sh/onefetch
- zypper - onefetch - 2.27.1-1.4: normalized package name match | openSUSE Tumbleweed package metadata: onefetch from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Git repository summary on your terminal | https://github.com/o2sh/onefetch
- MacPorts - onefetch: normalized package name match | MacPorts ports tree: devel/onefetch/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - extras/onefetch: normalized package name match | Scoop official bucket manifest trees: bucket/onefetch.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
- winget - o2sh.onefetch: normalized package name match | Windows Package Manager source index: o2sh.onefetch from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/onefetch.yml](https://github.com/mxcl/pkgdb/blob/main/combined/onefetch.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
