# countryfetch

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

Stars: 283 · Categories: System

- Repository: https://github.com/nik-rev/countryfetch
- Page: https://www.trmn.sh/tools/countryfetch

## Install

- Homebrew: `brew install nik-rev/tap/countryfetch`
- Cargo: `cargo install countryfetch`
- Arch Linux: `pacman -S countryfetch`

## Overview

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

```bash
# via Homebrew
brew install nik-rev/tap/countryfetch
```

```bash
# via Cargo
cargo install countryfetch
```

```bash
# via Arch Linux
pacman -S countryfetch
```

![United Kingdom country information display](https://media.trmn.sh/cached/12f0e86ac192989a46429e83680e4157112fec5f5d302c5202cb0e50416a5706.png)

![Japan country information display](https://media.trmn.sh/cached/fef7d39e13b4e80dd6c439e4a95c9f69e4869e6fb1a1b6cb7f67acb103c82939.png)

![United States country information display](https://media.trmn.sh/cached/08fe50879fe8557c840997aa54615179fe34e8793ed2b7fd00ee64ee0a130b9e.png)

## Alternatives

- [chdig](https://www.trmn.sh/tools/chdig.md): TUI interface for debugging and monitoring ClickHouse databases with top-like views and flamegraph analysis (301 stars)
- [tuptime](https://www.trmn.sh/tools/tuptime.md): System uptime tracking tool that preserves historical uptime/downtime statistics across reboots with detailed reporting (Python, 318 stars)
- [cy](https://www.trmn.sh/tools/cy.md): Terminal multiplexer with time-travel replay, fuzzy finding, and Janet configuration language (226 stars)
- [chmod-cli](https://www.trmn.sh/tools/chmod-cli.md): TUI tool for generating chmod commands by selecting file permissions through an interactive interface (198 stars)
- [kbt](https://www.trmn.sh/tools/kbt.md): Terminal-based keyboard testing tool for checking key functionality across multiple layouts (Rust, 391 stars)

---

Canonical: https://www.trmn.sh/tools/countryfetch
