VibeHunt
Back to browse

get-port-cli

Get an available port.

Source

The tool is a command‑line interface that finds an unused network port on the local machine. Users can supply one or more preferred port numbers; the program checks each in order and returns the first that is free, otherwise it selects an available port automatically. An optional flag lets the host address be specified, supporting both IPv4 and IPv6, so port resolution can be performed on a particular network interface.

It is intended for developers who need to allocate a free port for local services, testing, or containerized applications without manually probing ports. By exposing the functionality through a simple CLI, it avoids the need to write custom scripts or import a library for this common task.

The package is distributed via npm, can be installed globally, and is marked as stable. It mirrors the behavior of the underlying get‑port library, offering a lightweight, cross‑platform solution for automated port discovery.

Reviews

Sign in to leave a review.

Loading reviews…

Similar apps