getip

command module
v2.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2025 License: MIT Imports: 9 Imported by: 0

README

getip

Build Status

Get it from the Snap Store

get my public ipv4 and ipv6 address by cli

getip

You can install the pre-compiled binary (in several different ways), use Docker.

Here are the steps for each of them:

Install the pre-compiled binary

homebrew tap :

$ brew install OpenIoTHub/tap/getip

homebrew (may not be the latest version):

$ brew install getip

snapcraft:

$ sudo snap install publicip

scoop:

$ scoop bucket add OpenIoTHub https://github.com/OpenIoTHub/scoop-bucket.git
$ scoop install getip

deb/rpm:

Download the .deb or .rpm from the releases page and install with dpkg -i and rpm -i respectively.

getip

Shell script:

$ curl -sfL https://install.goreleaser.com/github.com/OpenIoTHub/getip.sh | sh

manually:

Download the pre-compiled binaries from the releases page and copy to the desired location.

Running with Docker

You can also use it within a Docker container. To do that, you'll need to execute something more-or-less like the following:

$ docker run  -it openiothub/getip:latest

Note that the image will almost always have the last stable Go version.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL