countryfetch
A neofetch-like CLI tool that displays information about countries including flags, demographics, and geographic data.
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



Alternatives & related tools
chdig
TUI interface for debugging and monitoring ClickHouse databases with top-like views and flamegraph analysis
tuptime
System uptime tracking tool that preserves historical uptime/downtime statistics across reboots with detailed reporting
cy
Terminal multiplexer with time-travel replay, fuzzy finding, and Janet configuration language
chmod-cli
TUI tool for generating chmod commands by selecting file permissions through an interactive interface
kbt
Terminal-based keyboard testing tool for checking key functionality across multiple layouts
add a badge to your README
Maintain countryfetch? Show that it's featured on trmn. The badge links back to this page.
[](https://www.trmn.sh/tools/countryfetch?utm_source=badge)<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>