Raycast extension for managing ports.
A powerful Raycast extension for monitoring and managing open ports on your Windows system. Quickly view all active TCP ports, identify which processes are using them, and terminate processes with a single action.



Win + Space by default)Ctrl+Shift+K or use the "Kill Process" actionCtrl+Shift+L or use the "Refresh List" action to update the port list| Action | Shortcut | Description |
|---|---|---|
| Kill Process | Ctrl+Shift+K | Terminate the process using the selected port |
| Refresh List | Ctrl+Shift+L | Update the port list with current system state |
| Copy Process Name | - | Copy the process name to clipboard |
| Copy Address | - | Copy the port address to clipboard |
| Copy PID | - | Copy the process ID to clipboard |
The extension uses Windows system commands to gather port information:
netstat -ano -p tcp: Lists all TCP connections and their associated PIDstasklist /fo csv: Retrieves process names for the identified PIDstaskkill /PID <pid> /F: Terminates processes by their PID# Clone the repository
git clone <repository-url>
cd ports
# Install dependencies
npm install
# Start development mode
npm run dev
npm run dev - Start development modenpm run build - Build the extensionnpm run lint - Run ESLintnpm run fix-lint - Fix ESLint issuesnpm run publish - Publish to Raycast Storeports/
├── src/
│ └── index.tsx # Main React component
├── lib/
│ ├── fetchPorts.ts # Port detection logic
│ └── killProcess.ts # Process termination logic
├── metadata/
│ ├── screenshot1.png # Main interface screenshot
│ └── screenshot2.png # Action panel screenshot
├── assets/
│ └── extension.png # Extension icon
└── package.json # Extension configuration
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.
dleteliers_
If you encounter any issues or have questions:
Note: This extension requires administrator privileges to terminate processes. Make sure to run Raycast with appropriate permissions when using the kill process functionality.