Find local dev servers, see what started them, and jump back to their terminal or app.
Website · Quick start · Commands · Architecture
devps is ps for dev servers. It groups a runner and its child servers into one row, with ports, project, origin, and age.
Use it to find a forgotten server, open its localhost URL, or stop the whole job.
PORTS PROJECT COMMAND ORIGIN AGE
:4174 :8080 shop [feature-cart] apps/web pnpm dev VS Code terminal ttys023 45m
:5173 docs vite Claude Code 3f9a1c2e · Warp 2h
:6006 :9229 shop apps/storybook storybook dev ⚠ orphaned, was Codex thread 01a07b5e 23d
Install with Homebrew on macOS:
brew install filipgutica/tap/devpsList servers or open the interactive picker:
devps ls
devpsfzf 0.66 or newer provides the interactive picker. Without a supported version, or without a terminal on standard input, devps prints the table instead.
devps # interactive picker (fzf)
devps ls # plain table
devps jump <port|pid> # focus the terminal, editor, or agent app that started it
devps open <port|pid> # open http://localhost:<port>
devps kill <port|pid>... [-y] # stop the whole job; -y skips confirmation
devps --all # include every TCP listener, not only dev runtimesFor example, devps jump 5173 returns to the origin of the server on port 5173.
devps kill 5173 shows the job's processes and asks before stopping them.
Commands match a port first, then a job root PID or listener PID.
The picker starts in browse mode. Press / to search. Enter keeps the filter and returns to browsing; the active filter appears in the header. Esc clears the filter and returns to browsing. While searching, q and / are ordinary text.
| Key | Action |
|---|---|
/ |
Edit the search filter |
q, Esc |
Quit from browse mode |
Enter |
Jump to the selected server's origin from browse mode |
Ctrl+O |
Open its URL in the browser |
Ctrl+X |
Stop selected jobs after confirmation |
Tab |
Select multiple jobs |
Ctrl+R |
Refresh the list |
Ctrl+↑ / Ctrl+↓ |
Scroll details |
The Ctrl shortcuts and multi-selection work in both modes. Ctrl+C quits from either mode.
One row per job. A pnpm dev that starts two Vite servers appears as one row with both ports.
The job root is the topmost process below the shell, agent, or app that launched it.
Origin. devps walks the process ancestry to find the terminal, editor, or agent.
For an orphaned job, it uses inherited origin hints from a fixed allowlist, such as WARP_FOCUS_URL, ITERM_SESSION_ID, CLAUDE_CODE_SESSION_ID, and CODEX_THREAD_ID.
It does not print, store, or pass on other environment values.
Jump targets. Exact tab or pane selection depends on the available origin information.
| Origin | Jump target |
|---|---|
| Warp, iTerm2, Terminal, tmux | Tab or pane, when the matching session information is available |
| VS Code | Window for that folder; terminal tab selection is unavailable |
| Codex app, T3 Code Workbench, Claude app | App; copies codex resume <id> or claude --resume <id> when the session is known |
Stop. devps sends SIGTERM to the job root and its children.
After three seconds, it sends SIGKILL to survivors.
It protects GUI apps, PID 1, and the terminal or agent that runs devps.
Before stopping a job, it refreshes the process table and rejects a root PID that now belongs to a different executable.
See the architecture guide for process grouping, origin detection, and jump behavior.
- devps supports macOS only. It uses macOS
ps,lsof,open,osascript, andpbcopy. - The default filter can hide compiled servers outside your home directory. Use
--allto include every TCP listener. - Some origins support app focus only. devps cannot always return to an exact terminal tab or agent conversation.
Build and check the CLI with Node 22 or newer:
npm ci
npm run typecheck
npm test # builds and checks the compiled CLI against process snapshots
npm run smoke # starts a throwaway runner and child server, lists them, stops themInstall fzf 0.66 or newer to run the real picker keyboard tests. Those tests are skipped when fzf is absent.
The TypeScript build runs compiled JavaScript with Node. It has no runtime npm dependencies. CI runs these checks on macOS, including the real process smoke test.
Releases use Release Please with Conventional Commit PR titles: fix: creates a patch release; feat: creates a minor release.
devps is available under the MIT License.