mpolden / echoip

IP address lookup service
https://ifconfig.co
BSD 3-Clause "New" or "Revised" License
4.01k stars 526 forks source link

How to install on Linux? #169

Closed rocheston closed 1 year ago

rocheston commented 1 year ago

This is the command I ran.

Downloaded this github repository

$ make bash -c "diff --line-format='%L' <(echo -n) <(gofmt -d -s .)" go vet ./... go test ./... ? github.com/mpolden/echoip/cmd/echoip [no test files] ok github.com/mpolden/echoip/http (cached) ? github.com/mpolden/echoip/iputil/geo [no test files] ok github.com/mpolden/echoip/iputil (cached) ok github.com/mpolden/echoip/useragent (cached) go install ./...

$ echoip -h echoip: command not found

What am I doing wrong here?

rocheston commented 1 year ago

Solved. It is in GOPATH/bin directory.