7 releases (4 stable)

Uses new Rust 2024

1.3.0 Dec 11, 2025
1.2.0 Jun 24, 2025
0.1.4 Jun 10, 2025

#2173 in Command line utilities

MIT license

25KB
618 lines

Cargofetch 🦀

GitHub License GitHub last commit

Cargofetch is a lightweight CLI tool written in Rust that fetches metadata about your Rust project.

Image

Installation

Crates.io Homebrew Tap AUR

Install via Cargo (Rust's package manager)

If you have Cargo installed, you can easily install cargofetch by running the following command:

cargo install cargofetch

🍺 Homebrew (macOS)

Add homebrew tap and install cargofetch:

brew tap arjav0703/cargofetch https://github.com/arjav0703/cargofetch.git
brew install arjav0703/cargofetch/Cargofetch

AUR

AUR Last Modified If you are using an Arch-based Linux distribution, you can install cargofetch from the AUR:

yay -S cargofetch

NIX flakes

If you are using Nix, you can install cargofetch using flakes:

nix profile install github:arjav0703/cargofetch

📁 Download Binary

Automatic:

curl -fsSL https://raw.githubusercontent.com/arjav0703/cargofetch/refs/heads/v1/install-bin.sh | bash

Manual: You can download the pre-built binary for your platform from the releases page.


🔧 Building from Source

Automatic:

curl -fsSL https://raw.githubusercontent.com/arjav0703/cargofetch/refs/heads/v1/install-source.sh | bash

Manual:

git clone https://github.com/arjav0703/cargofetch.git
cd cargofetch
cargo build --release

The binary will be located in the target/release/ directory.

Acknowledgements

This projcet was inspired by neofetch and onefetch. Also, the ASCII art logo was also taken from onefetch.


Dependencies

~16–38MB
~561K SLoC