A simple CLI for view internal IP and external IP
Prerequisites: Node.js (>=4.x, 6.x preferred), npm version 3+ and Git.
$ npm install -g myip-cli
$ myip
# or
$ npx myip-cli
You can see the following information.
internal: { en0: 'x.x.x.x', vnic0: 'x.x.x.x' }
external: { ip: 'x.x.x.x', region: 'region information' }