# Kill Process for Raycast

URL: https://www.raycast.com/rolandleth/kill-process

> Find and kill processes sorted by CPU or memory usage, force quit apps and background processes, with AI tools to list and end processes.

- Install: raycast://extensions/rolandleth/kill-process
- Author: [Roland Leth](https://www.raycast.com/rolandleth)
- Installs: 822,180
- Platforms: macOS, Windows
- Categories: AI Extensions
- Updated: 2026-11-20
- Source: https://github.com/raycast/extensions/tree/e38232e713cc42a58cac81b8d3af9261fd1624e5/extensions/kill-process/

## Commands

- **Kill Process**: Lists all running processes, ordered by CPU or memory usage and allows (force) killing one

## AI tools

- **List Processes**: Lists running processes with their CPU and memory usage, sorted by memory usage
- **(Force) Kill Process**: Terminates a process by its exact name or PID (Force kill requires enabling sudo authentication with touchID on macOS: https://dev.to/siddhantkcode/enable-touch-id-authentication-for-sudo-on-macos-sonoma-14x-4d28, admin rights on Windows)
- **(Force) Kill All Processes by Name**: Terminates all processes matching a given name using killall (macOS) or taskkill /IM (Windows). Force kill requires enabling sudo authentication with touchID on macOS, admin rights on Windows.

## README

### Kill Process

Find the app or background process that's slowing your Mac down and stop it, without opening Activity Monitor.

Kill Process lists everything that's running, sorted by CPU or memory usage, so the heaviest processes are at the top. Pick one and kill it, or force kill it if it won't quit.

#### Commands

- **Kill Process**: Lists all running processes by CPU or memory usage. Kill or force kill the selected one.

#### Use it with Raycast AI

Mention `@kill-process` in Raycast AI and ask in plain language, for example "what's using the most memory?" or "kill everything called node". It can:

- List running processes with their CPU and memory usage
- Kill a process by name or PID
- Kill all processes with a given name

Force killing from Raycast AI on macOS needs sudo. The easiest way is to enable Touch ID for sudo.

#### Preferences

- **Prioritize Apps**: list apps before background processes.
- **Never Ask for Confirmation**: skip the confirmation before killing a process.
