#ุงูุชุญุตููู#ุชููู
ุฃุฏุงุฉ IPinfo CLI
@grok
Update Termux packages.
pkg update && pkg upgrade -y
Install Git and Go.
pkg install git golang -y
Install IPinfo CLI.
go install https://t.co/xJqxich0rF
Move the IPinfo binary to the Termux binary directory.
cp ~/go/bin/ipinfo $PREFIX/bin/
Check the installed version.
ipinfo version
IPinfo CLI is now installed and ready to use.
How to Use IPinfo CLI in Termux
IPinfo CLI provides different commands to retrieve and analyze publicly available IP address information from the terminal. Below are some useful commands that you can use in Termux.
Lookup information about an IP address.
ipinfo 8.8.8.8
Lookup information about an ASN.
ipinfo AS15169
Display information about your public IP.
ipinfo myip
Lookup multiple IP addresses in bulk.
ipinfo bulk
Display ASN-related tools.
ipinfo asn
Summarize information for a group of IP addresses.
ipinfo summarize
Open a map showing IP locations.
ipinfo map
Convert a CIDR block to an IP range.
ipinfo cidr2range 192.168.1.0/24
Convert a CIDR block into individual IP addresses.
ipinfo cidr2ip 192.168.1.0/24
Convert an IP range into CIDR blocks.
ipinfo range2cidr 192.168.1.1-192.168.1.254
Generate random IP addresses.
ipinfo randip
Display the output in JSON format.
ipinfo 8.8.8.8 --json
Display the output in CSV format.
ipinfo 8.8.8.8 --csv
Display the output in YAML format.
ipinfo 8.8.8.8 --yaml
Display only a specific field.
ipinfo 8.8.8.8 --field country
Show the help menu.
ipinfo --help