nmkill is a fast, efficient CLI tool for finding and removing node_modules directories, inspired by npkill but written in Go.
- Quickly scans directories for
node_modulesfolders - Interactive TUI for easy navigation and selection
- Displays folder sizes for informed decision-making
- Fast performance thanks to Go's concurrency
Install nmkill with a single command:
curl -fsSL https://nmkill.sattwik.com/install.sh | bashThis script will download the latest version of nmkill and install it on your system.
Run GoNpKill in your terminal:
nmkill- Use arrow keys to navigate the list of node_modules directories
- Press Enter to select a directory for deletion
- Press q or Ctrl+C to exit
If you prefer to build from source:
- Ensure you have Go installed (version 1.23 or later)
- Clone this repository
- Run
go build -o nmkill
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Inspired by the original npkill project
- Built with Bubble Tea, Bubbles, and Lipgloss