MCPcopy Index your code
hub / github.com/cesarferreira/rip

github.com/cesarferreira/rip @v0.7.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.7.0 ↗ · + Follow
20 symbols 44 edges 1 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

rip

Fuzzy find and kill processes from your terminal

rip demo

Crates.io Downloads License GitHub Stars

Installation

Homebrew (macOS)

brew install cesarferreira/tap/rip

Cargo

cargo install rip-cli

From source

cargo install --path .

Nix

Test with nix run:

nix run github:cesarferreira/rip --no-write-lock-file

Install via flake

# In your local flake.nix file
inputs = {
  rip = {
    url = "github:cesarferreira/rip";
    inputs.nixpkgs.follows = "nixpkgs";
  };
};

# Your output packages + rip
outputs = {
#  self,
#  nixpkgs,
  rip,
#  ...
};

# In your configuration.nix
{  inputs, ...}:{
# Your other configurations 
  environment.systemPackages = with pkgs; [
    # inputs.rip.packages.${$system}.default #<-old
    inputs.rip.packages.${pkgs.stdenv.hostPlatform.system}.default #<- current
  ];
}


Usage

# Open fuzzy finder with all processes (sorted by CPU)
rip

# Pre-filter by process name
rip -f chrome

# Use a different signal (default: SIGKILL)
rip -s SIGTERM

# Sort by memory usage
rip --sort mem

# Sort by PID
rip --sort pid

# Sort by name
rip --sort name

# Live mode with auto-refreshing process list
rip --live

Ports Mode

Show and filter by processes listening on network ports:

# Show all processes with open ports
rip --ports

# Filter to a specific port (e.g., kill whatever is using port 3000)
rip --port 3000

# Combine with live mode
rip --ports --live

# Sort by port number
rip --ports --sort port

Options

Flag Description
-f, --filter <name> Pre-filter processes by name
-s, --signal <signal> Signal to send (default: KILL)
--sort <field> Sort by: cpu (default), mem, pid, name, port
-l, --live Live mode with auto-refreshing process list
--ports Show only processes with open ports
--port <PORT> Filter by specific port number (implies --ports)

Controls

Key Action
Space Select/deselect process
Enter Kill selected processes
Esc / Ctrl+C Cancel
Type Fuzzy search

Signals

Signal Number Description
KILL 9 Force kill (default)
TERM 15 Graceful termination
INT 2 Interrupt
HUP 1 Hangup
QUIT 3 Quit

Examples

# Kill all matching Chrome processes
rip -f chrome

# Gracefully terminate a process
rip -s TERM

# Kill node processes
rip -f node

# Kill whatever is using port 3000
rip --port 3000

# View all processes with open ports in live mode
rip --ports --live

License

MIT

Core symbols most depended-on inside this repo

Shape

Function 15
Class 2
Enum 2
Method 1

Languages

Rust100%

Modules by API surface

src/main.rs20 symbols

For agents

$ claude mcp add rip \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page