Build from source:
cd ~/path/to/dev-process-tracker
go build -o devpt ./cmd/devpt/main.goOptionally install to PATH:
sudo mv devpt /usr/local/bin/devptThen use from anywhere:
devpt lsdevpt lsShows listening ports with PID, project, and source.
devpt add myapp ~/myapp "npm start" 3000devpt ls --detailscat ~/.config/devpt/registry.jsondevpt start myappLogs are written to ~/.config/devpt/logs/myapp/<timestamp>.log
# Start multiple specific services
devpt start api frontend worker
# Use glob patterns to match services (quote to prevent shell expansion)
devpt start 'web-*' # Starts all services matching 'web-*'
devpt start '*-test' # Starts all services ending with '-test'
# Target a specific service by name:port
devpt start web-api:3000 # Start web-api on port 3000 only
devpt stop "some:thing" # Literal service name containing a colon
# Mix patterns and specific names
devpt start api 'web-*' workerdevpt stop myapp# Stop multiple specific services
devpt stop api frontend
# Use glob patterns (quote to prevent shell expansion)
devpt stop 'web-*' # Stops all services matching 'web-*'
# Target a specific service by name:port
devpt stop web-api:3000 # Stop web-api on port 3000 only
devpt stop *-test # Stops all services ending with '-test'devpt stop --port 3000devpt restart myapp# Restart multiple specific services
devpt restart api frontend worker
# Use glob patterns
devpt restart web-* # Restarts all services matching 'web-*'
devpt restart claude-* # Restarts all services starting with 'claude-'devpt logs myapp
devpt logs myapp --lines 100devptKey interactions:
Tabswitches between the running-services table and the managed-services listEnteropens logs from the top table and starts the selected service from the bottom list/opens inline filter editing in the footer?opens the help modal- mouse click selects rows and mouse wheel scrolls the active pane
- logs header shows
Logs: <service> | Port: <port> | PID: <pid>
~/.config/devpt/
├── registry.json # Your managed services
└── logs/
├── myapp/
│ ├── 2026-02-09T16-00-01.log
│ └── 2026-02-09T16-05-30.log
└── otherapp/
└── 2026-02-09T16-10-00.log
- Edit registry manually -
~/.config/devpt/registry.jsonis just JSON - Check what's using a port -
devpt ls --details | grep :3000 - Find projects -
devpt ls | grep "my-project" - See processes without names -
devpt ls --details | grep -v "^-" - Quote glob patterns - use
'web-*'instead ofweb-*to avoid shell expansion
"lsof: command not found"
brew install lsofRegistry file seems broken
rm ~/.config/devpt/registry.json
# It will be recreated next time you add a serviceProcess won't stop
# Find the PID
devpt ls | grep myapp
# Force kill it (use carefully!)
kill -9 <PID>devpt help