Skip to content
iqhaterPublic

About

"myip" is a tiny utility to show external and local IP with binded adapter name.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

27 Commits

Folders and files

Repository files navigation

myip

myip is a simple and convenient CLI tool for retrieving your local and external (public) IP address.

🚀 Installation

Install myip using go install:

go install github.com/iqhater/myip@latest

Then, add it to your PATH if necessary:

export PATH=$HOME/go/bin:$PATH

🛠 Usage

Simply run the command:

myip

You will get the following output:

Local interface name: vEthernet (hyperV-external)
     Local IP (IPv4): 10.180.0.60
    Public IP (IPv4): 42.30.210.106
             Country: Netherlands
        Country Code: NL

📜 License

This project is licensed under the MIT License.


💡 Star us on GitHub if you like this project! ⭐

About

"myip" is a tiny utility to show external and local IP with binded adapter name.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages