I built a CLI for the process/port commands I could never remember

Published: (February 5, 2026 at 01:13 PM EST)
1 min read
Source: Dev.to

Source: Dev.to

Overview

proc is a small CLI tool that lets you quickly query and manage processes and ports without having to remember complex command pipelines.

Usage

# Find what’s listening on port 3000
proc on :3000

# Kill the process listening on port 3000
proc kill :3000

# List ports used by Node.js processes
proc on node

# Show the process running in the current directory
proc in .

# Find Node.js processes in the current directory
proc by node --in .

# Identify what is running a specific script
proc for ./server.py

# Kill multiple targets at once
proc kill :3000,:8080,node

The syntax is consistent across commands: you can specify a port (:port), a PID, or a process name.

Installation

macOS

brew install yazeed/proc/proc

Windows

scoop bucket add proc https://github.com/yazeed/scoop-bucket-proc
scoop install proc

Rust (Cargo)

cargo install proc-cli

npm

npm install -g proc-cli

Nix

nix profile install github:yazeed/proc

Direct script (curl)

curl -fsSL https://raw.githubusercontent.com/yazeed/proc/main/install.sh | bash

Project details

  • Repository:
  • Language: Rust
  • Platforms: macOS, Linux, Windows
  • License: MIT

Feedback is welcome.

Back to Blog

Related posts

Read more »

I tried Warp terminal...

!Cover image for I tried Warp terminal...https://media2.dev.to/dynamic/image/width=1000,height=420,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploa...