# when you're on your terminal Window :
ipconfig
# on macOS :
ifconfig | grep "inet" | grep -v 127.0.0.1
# on Linux :
hostname -I
for local ip :
hostname -I
for Public ip :
curl icanhazip.com
#In windows terminal, type:
ipconfig
#You will see your computer ipv4 and other info