A lightweight macOS menu bar app that shows which applications are listening on which ports, with a quick way to kill them.
- View all listening TCP ports and their processes at a glance
- View PIDs, commands and working directories
- Quick "Open in Browser" for web services
- Kill processes with one click (with confirmation)
- Smart name detection for NodeJS apps, Docker, Python and other dev tools
- Filters for dev processes and system process
- Toggleable filters out system processes by default
- Process window with uptime, start time, memory, and details for every listening process
Open it from "Open Process Window..." in the menu, or double-click the menu bar icon. It lists one row per process, sortable by any column, so you can see how long each server has been running and kill it from there. The inspector shows the parent process, CPU time, thread count, working directory, full command, and whether each port is bound to localhost only or to all interfaces.
- Click the Portsly icon in your menu bar
- View all processes listening on TCP ports
- Click on any port to see options:
- Open in Browser: Opens
http://localhost:PORTin your default browser - Kill Process: Sends SIGTERM to the process
- Force Quit: Sends SIGKILL to the process
- Double-click the menu bar icon (or choose "Open Process Window...") for the full process window
- Download the latest release from the Releases page
- Move Portsly.app to your Applications folder
- Launch Portsly
Requirements:
- macOS 14.0+
- Xcode 26+
- XcodeGen
# Clone the repository
git clone https://github.com/ghinkle/portsly.git
cd portsly
# Quick build
./build.sh
# Or manually:
xcodegen generate
open Portsly.xcodeproj
# Then build and run in Xcode (⌘+R)Portsly runs shell commands to load network ports and command information. There is no telemetry. This is just a simple, free utility.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Uses XcodeGen for project generation
- Built with Swift and SwiftUI

