A command line tool for getting your IP on the LAN
$ npm install -g print-ip
$ ip
172.104.0.3
or
$ print-ip
172.104.0.3
You can append a color to the end of the command and it will print in that color
$ ip magenta
172.104.0.3 # will be the color magenta
Valid colors are:
black
red
green
yellow
blue
magenta
cyan
white
gray