countryfetch

A neofetch-like CLI tool that displays information about countries including flags, demographics, and geographic data.

install

Countryfetch is a command-line information display tool inspired by neofetch that retrieves and presents data about countries. Instead of showing system information, it displays country-specific details including the flag, population, area, capital, languages, and other geographic and demographic information.

The tool accepts country names in multiple formats including full names (UnitedStates, UnitedKingdom), two-letter country codes (us, gb), and supports querying multiple countries simultaneously. It can display information for a single country, specific countries provided as arguments, or all countries at once using the --all-countries flag.

Countryfetch includes a --list-countries option to show all available countries and their codes. The output format mirrors neofetch's style with ASCII art country flags displayed alongside formatted country information, making it useful for developers, system administrators, or anyone who wants quick access to country data in a terminal environment.

Installation

# via Homebrew
brew install nik-rev/tap/countryfetch
# via Cargo
cargo install countryfetch
# via Arch Linux
pacman -S countryfetch

United Kingdom country information display

Japan country information display

United States country information display

Alternatives & related tools

add a badge to your README

Maintain countryfetch? Show that it's featured on trmn. The badge links back to this page.

Featured on trmn
Markdown
[![Featured on trmn](https://www.trmn.sh/badge/countryfetch.svg)](https://www.trmn.sh/tools/countryfetch?utm_source=badge)
HTML
<a href="https://www.trmn.sh/tools/countryfetch?utm_source=badge"><img src="https://www.trmn.sh/badge/countryfetch.svg" alt="Featured on trmn" height="20"></a>