Find processes that are listening on TCP ports, name frequently used ports, and terminate the associated process directly from Raycast.
| Capability | macOS | Windows |
|---|---|---|
| List listening TCP ports | Uses netstat with an lsof fallback | Uses netstat.exe -ano -p TCP |
| Process details | Uses ps and lsof | Uses PowerShell and Win32_Process |
| Kill by PID | Uses kill with the selected signal | Uses forced taskkill.exe /PID <pid> /F |
| Kill all matching process names | Uses killall | Uses taskkill.exe /IM <name> /F |
| Reveal executable | Finder | File Explorer |
| Menu bar command | Supported | Not available in Raycast on Windows |
On macOS, the Kill Signal preference controls whether to ask for SIGTERM or SIGKILL, or always use one. Windows does not support Unix signals, so every kill uses taskkill /F.
A kill is only reported as successful once the process has actually exited. A process that ignores the signal is reported as still running, with a one-key Force Kill to follow up with SIGKILL.
Some system-owned processes and executable paths are protected by the operating system. The extension will show the command error in Raycast when the current user lacks permission; use an elevated terminal only when you understand the process you are stopping.
Kill the process listening on a given port
Name ports to make them easier to find in the open port list
Show and Close Opened Ports
List open ports in menu bar
node, python, …) can be told apartlsof processes from piling up when port detection stallsOpen Port commandsudo for listing and killing processes⌘ + p to ⌘ + ⌥ + p⌘ + i to ⌘ + ⇧ + dlsof returned a warning, thank you Grzegorz Leoniec⌘ + i) to display process information⌘ + f) to reveal the executable of a process in Finder⌘ + p) to kill the parent process of a process opening a port0 (kernel) or 1 (launchd)SIGTERM or SIGKILLkillall to kill processes by name