Skip to content

Conversation

@aaqifshafi
Copy link
Contributor

Description

This PR adds a new script command to quickly kill any process running on one or more given ports.
It’s useful for developers who frequently need to stop apps (e.g. Node, Next.js, React, etc.) that are stuck running on ports like 3000, 5000, etc.

The script accepts one or multiple ports as arguments and kills the processes with clear success/failure messages.

Type of change

  • New script command

Screenshot

CleanShot 2025-10-01 at 19 36 32

Dependencies / Requirements

Requires lsof (preinstalled on macOS).
No other dependencies.
Works out of the box on macOS with Raycast.

Checklist

Copy link
Contributor

@nhojb nhojb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apologies for the delay reviewing. All looks fine 👍

@nhojb nhojb merged commit bbb4605 into raycast:master Oct 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants