Skip to content

winterrx/ports-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ports-cli

Fast local port and process inspection for dev servers.

Install

cargo install --git https://github.com/winterrx/ports-cli ports-cli

Usage

ports
ports --all
ports ps
ports 3000
whoisonport 3000
ports kill 3000
ports watch

Example

$ ports

┌─────────────────────────────────────┐
│  Port Whisperer                     │
│  listening to your ports...         │
└─────────────────────────────────────┘

╭───────┬──────────┬───────┬──────────────┬───────────┬────────┬────────────╮
│ PORT  ┆ PROCESS  ┆ PID   ┆ PROJECT      ┆ FRAMEWORK ┆ UPTIME ┆ STATUS     │
╞═══════╪══════════╪═══════╪══════════════╪═══════════╪════════╪════════════╡
│ :3000 ┆ node     ┆ 41230 ┆ dashboard    ┆ Next.js   ┆ 12m    ┆ healthy    │
│ :5173 ┆ bun      ┆ 41882 ┆ marketing    ┆ Vite      ┆ 4m     ┆ healthy    │
╰───────┴──────────┴───────┴──────────────┴───────────┴────────┴────────────╯

Notes

  • ports shows the common dev-facing view.
  • ports --all shows all listening ports.
  • ports ps shows active dev processes.
  • whoisonport <port> is a shortcut for detailed lookup.

About

Fast local port and process inspection for dev servers.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages