/myip-cli

View internal IP and external IP

Primary LanguageJavaScriptMIT LicenseMIT

myip

A simple CLI for view internal IP and external IP

中文说明

Installation & Usage

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' }