https://github.com/o2sh/onefetch
Command-line Git information tool
https://github.com/o2sh/onefetch
cli command-line command-line-interface git rust tool
Last synced: 16 days ago
JSON representation
Command-line Git information tool
- Host: GitHub
- URL: https://github.com/o2sh/onefetch
- Owner: o2sh
- License: mit
- Created: 2018-09-14T18:51:00.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2026-03-29T10:50:43.000Z (19 days ago)
- Last Synced: 2026-03-30T17:36:44.413Z (18 days ago)
- Topics: cli, command-line, command-line-interface, git, rust, tool
- Language: Rust
- Homepage: https://onefetch.dev
- Size: 29 MB
- Stars: 11,709
- Watchers: 37
- Forks: 307
- Open Issues: 58
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-tools - onefetch - 漂亮的 Git 仓库信息统计。 (Git / Snippets Manager)
- fucking-Awesome-Linux-Software - 
[](https://crates.io/crates/onefetch)
[](https://github.com/o2sh/onefetch/actions/workflows/ci.yml)
[](https://github.com/o2sh/onefetch/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22)

Homepage |
Installation |
Documentation
---
Onefetch is a command-line Git information tool that displays project information and code statistics for a local Git repository directly in your terminal. The tool works completely offline with a focus on performance and customizability.
|||
|---|---|
|  |  |
## Installation
Onefetch is available on Linux, macOS, and Windows platforms. Binaries for Linux, Windows, and macOS are available on the [release page](https://github.com/o2sh/onefetch/releases).
### Linux
- Ubuntu
```
wget https://github.com/o2sh/onefetch/releases/latest/download/onefetch_amd64.deb && sudo dpkg -i ./onefetch_amd64.deb && rm onefetch_amd64.deb
```
- Arch Linux
```
pacman -S onefetch
```
- openSUSE
```
zypper install onefetch
```
### macOS
```
brew install onefetch
```
### Windows
```
winget install onefetch
```
## Usage
```
onefetch /path/of/your/repo
```
Or
```
cd /path/of/your/repo
onefetch
```
## Customization
Onefetch can be customized via [command-line arguments](https://github.com/o2sh/onefetch/wiki/command-line-options) to display exactly what you want, the way you want it: adjust the text styling, disable info lines, ignore files and directories, output in multiple formats (JSON, YAML), etc.
## Contributing
Currently, onefetch supports more than [100 different programming languages](https://onefetch.dev); if your language of choice isn't supported, open an issue and support will be added.
Contributions are very welcome! See [CONTRIBUTING](CONTRIBUTING.md) for more info.