rip-cli-0.7.0 is not a library.
Installation
Homebrew (macOS)
Cargo
From source
Nix
Test with nix run:
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)
# Pre-filter by process name
# Use a different signal (default: SIGKILL)
# Sort by memory usage
# Sort by PID
# Sort by name
# Live mode with auto-refreshing process list
Ports Mode
Show and filter by processes listening on network ports:
# Show all processes with open ports
# Filter to a specific port (e.g., kill whatever is using port 3000)
# Combine with live mode
# Sort by port number
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
# Gracefully terminate a process
# Kill node processes
# Kill whatever is using port 3000
# View all processes with open ports in live mode
License
MIT