Cargofetch is a lightweight CLI tool written in Rust that fetches metadata about your Rust project.
If you have Cargo installed, you can easily install cargofetch by running the following command:
cargo install cargofetch
Add homebrew tap and install cargofetch:
brew tap arjav0703/cargofetch https://github.com/arjav0703/cargofetch.git
brew install arjav0703/cargofetch/Cargofetch
If you are using an Arch-based Linux distribution, you can install cargofetch from the AUR:
yay -S cargofetch
If you are using Nix, you can install cargofetch using flakes:
nix profile install github:arjav0703/cargofetch
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.
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.
This projcet was inspired by neofetch and onefetch. Also, the ASCII art logo was also taken from onefetch.