Designed to be a lookup tool for cli. It should be working on all major platforms and maxmind databases. By default it does have default database locations but you might use
--geodb <mmdb_file> to put different location.
- Lookup for IPv4 and IPv6
npm i -g geoip2lookup
After the installation, you should be able to lookup with