iso-codes

Provides lists of various ISO standards (countries, languages, currencies)

brewmacoslinux
Try with needOr install directly
Source

About

Provides lists of various ISO standards

Commands

iso-codes

Examples

View ISO 639 language codes$ cat /usr/local/share/iso-codes/json/iso_639.json | head -20
Look up a specific country code (e.g., US)$ grep -i '"US"' /usr/local/share/iso-codes/json/iso_3166-1.json
List all available ISO standard JSON files$ ls /usr/local/share/iso-codes/json/