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.
npm i -g geoip2lookup
After the installation, you should be able to lookup with