macOS
brew install onefetchlocal Homebrew formula metadata
sudo port install onefetchMacPorts ports tree · devel/onefetch/Portfile · source: api.github.com
brew
Command-line Git information tool. Version 2.27.1 via Homebrew; verified from local package data.
install
brew install onefetchlocal Homebrew formula metadata
sudo port install onefetchMacPorts ports tree · devel/onefetch/Portfile · source: api.github.com
sudo apk add onefetchAlpine Linux edge package indexes · onefetch · source: dl-cdn.alpinelinux.org
sudo dnf install onefetchFedora Rawhide package metadata · onefetch · source: dl.fedoraproject.org
nix profile install nixpkgs#onefetchnixpkgs package indexes · pkgs/by-name/on/onefetch/package.nix · source: api.github.com
sudo pacman -S onefetchArch Linux sync databases · onefetch · source: geo.mirror.pkgbuild.com
sudo zypper install onefetchopenSUSE Tumbleweed package metadata · onefetch · source: download.opensuse.org
scoop install extras/onefetchScoop official bucket manifest trees · bucket/onefetch.json · source: api.github.com
winget install --id o2sh.onefetch -eWindows Package Manager source index · o2sh.onefetch · source: cdn.winget.microsoft.com
overview
Command-line Git information tool
history
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.
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.
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.
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.
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
onefetch | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/o2sh/onefetch
install metadata
| Package key | brew:onefetch |
|---|---|
| Version | 2.27.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/onefetch |
| Homepage | https://onefetch.dev/ |
| Repository | https://github.com/o2sh/onefetch |
| Upstream docs | https://github.com/o2sh/onefetch#readme |
| License | MIT |
| Source archive | https://github.com/o2sh/onefetch/archive/refs/tags/2.27.1.tar.gz |
| Dependencies | zstd |
| Build dependencies | cmake, pkgconf, rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | onefetch |
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
onefetch
nix profile install nixpkgs#onefetchonefetch 2.26.1-r0
Git repository summary on your terminal
https://github.com/o2sh/onefetch
sudo apk add onefetchonefetch-bash-completion 2.26.1-r0
Bash completions for onefetch
https://github.com/o2sh/onefetch
sudo apk add onefetch-bash-completiononefetch-doc 2.26.1-r0
Git repository summary on your terminal (documentation)
https://github.com/o2sh/onefetch
sudo apk add onefetch-doconefetch-fish-completion 2.26.1-r0
Fish completions for onefetch
https://github.com/o2sh/onefetch
sudo apk add onefetch-fish-completiononefetch-zsh-completion 2.26.1-r0
Zsh completions for onefetch
https://github.com/o2sh/onefetch
sudo apk add onefetch-zsh-completiononefetch 2.27.1-5.fc45
Command-line Git information tool
https://crates.io/crates/onefetch
sudo dnf install onefetchonefetch 2.27.1-1
Git repository summary on your terminal
https://github.com/o2sh/onefetch
sudo pacman -S onefetchonefetch 2.27.1-1.2
Git repository summary on your terminal
https://github.com/o2sh/onefetch
sudo zypper install onefetchonefetch
sudo port install onefetchextras/onefetch
scoop install extras/onefetcho2sh.onefetch
winget install --id o2sh.onefetch -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.