brew tap thatmattlove/addr
brew install addr
echo "deb [trusted=yes] https://repo.fury.io/thatmattlove/ /" > /etc/apt/sources.list.d/thatmattlove.fury.list
sudo apt update
sudo apt install addr
echo -e "[fury-thatmattlove]\nname=thatmattlove\nbaseurl=https://repo.fury.io/thatmattlove/\nenabled=1\ngpgcheck=0" > /etc/yum.repos.d/thatmattlove.fury.repo
sudo yum update
sudo yum install addr
TODO In the meantime, download from releases
❯ ./addr --help
addr is a tool to look up IP & ASN ownership and routing information.
Usage:
addr [flags]
addr [command]
Available Commands:
asn Look up an ASN
completion Generate the autocompletion script for the specified shell
help Help about any command
ip Look up an IP address or prefix
Flags:
-h, --help help for addr
-v, --version version for addr
Use "addr [command] --help" for more information about a command.