A macOS menu bar app for quitting running apps, seeing what Codex is running locally, and freeing up development ports.
Download for macOS · Quick start · Build from source · Changelog · Русский
- Download the DMG from GitHub Releases.
- Drag PortsKiller to Applications and open it.
- Right-click the menu bar icon to find a running app and quit it. Left-click to open the process window.
The release DMG is for Apple silicon on macOS 13 or later. The app is ad-hoc signed, not notarized. macOS may ask you to approve the first launch.
Quick panel. Right-click the menu bar icon and choose Apps or Processes. Apps has a name filter and sends a normal Quit request, so the app can still ask you to save. Processes has a name/PID filter, types, RAM, and a confirmed Stop for eligible commands.
Agents. See local commands PortsKiller can trace to Codex or Claude Code. Filter by command, project, provider, or PID, or click RAM to sort each group. Use the row’s actions to reveal a verified project folder, copy the PID, open Details without moving the list, or stop an eligible command group after confirmation. Desktop runtimes and helper services such as Computer Use and MCP appear separately and remain read-only. This view does not read chats or show cloud task status.
Dev shows likely development servers and Ports lists detected TCP listeners. Find what owns a port, open the localhost URL, reveal the project folder, or stop an eligible process. Activity shows resource-heavy local processes, simulators, and emulators even when they don’t listen on a port. For a quick resource check, the menu bar can show CPU or RAM.
Open Add Project, pick a folder, and choose a launch command. For projects with a package.json, PortsKiller offers the available scripts and uses lockfiles to suggest npm, pnpm, yarn, or bun. Start or restart a saved project from the same window. Commands run with your installed tools, and PortsKiller shows stdout and stderr for processes it starts.
If PortsKiller can’t infer a restart command for an existing listener, open project setup from its row to add one. Settings is where you manage saved projects, menu bar metrics, and updates. Updates for the copy in Applications show release notes and ask before installing.
Use macOS 13 or later, Xcode Command Line Tools, and Swift 6:
swift build
swift test
scripts/build-app.sh
open .build/PortsKiller.app --args --show-agentsThe packaging script writes the app bundle and a versioned DMG to .build/. Set PORTSKILLER_VERSION to package a specific version locally. The release workflow packages and publishes the DMG on GitHub.
To inspect the same local scanner data without opening the window:
swift run PortsKiller --scan-agents
swift run PortsKiller --scan-once # likely development listeners
swift run PortsKiller --scan-all # all detected TCP listeners
swift run PortsKiller --scan-activity
swift run PortsKiller --system-statsPortsKiller живёт в строке меню macOS. Правый клик открывает поиск по запущенным приложениям и кнопку Quit. Это обычное завершение: приложение может предложить сохранить изменения, принудительно его никто не закроет.
Левый клик открывает окно процессов. Во вкладке Agents видно, какие команды Codex запустил на этом Mac. Список можно искать и сортировать по RAM, а в раскрытой строке посмотреть контекст, время запуска и PID. Рантаймы и служебные процессы вынесены отдельно, останавливать их через Agents нельзя. Содержимое чатов и состояние облачных задач здесь не отображаются.
Dev показывает вероятные серверы разработки, Ports — найденные TCP-порты, Activity — тяжёлые процессы, симуляторы и эмуляторы. Через Add Project можно сохранить папку и команду, чтобы запускать проект из того же окна и видеть его логи.
Скачать DMG · macOS 13 или новее. Перенесите приложение в Applications. При первом запуске macOS может запросить подтверждение.
