Explore documented capabilities and connections for gip.
What your agent can do
Zero-dependency, TypeScript-friendly module and CLI tool that uses node:http/https to retrieve your real public IPv4 or IPv6 address.
Via CLI.
Tasks depend on the interface and permissions.
Connection methods
Choose a route that fits your agent.
CLI
For agents with a terminal
View setup for CLICLI connection
CLI package
gip