| Crates.io | rskill |
| lib.rs | rskill |
| version | 0.4.0 |
| created_at | 2025-01-28 22:22:58.716523+00 |
| updated_at | 2025-01-29 05:01:08.930676+00 |
| description | npkill like cli utility for removing node_modules |
| homepage | https://github.com/xsadia/rskill |
| repository | https://github.com/xsadia/rskill |
| max_upload_size | |
| id | 1534097 |
| size | 55,345 |
rskill is a clone of npkill, written in Rust for study purposes. It allows you to quickly find and delete node_modules directories to free up disk space. While it tries to follow the same CLI API as npkill, it does not implement all of it's features. User discretion is advised when deleting directories.
npkill (though not streamed directly to the terminal and some features are missing such as automatic updates, bg color customization etc.).npkill for familiarity.| ARGUMENT | DESCRIPTION |
|---|---|
| -d, --directory | Set the directory from which to begin searching. By default, starting-point is . |
| -D, --delete-all | Automatically delete all node_modules folders that are found. Suggested to be used together with -x. |
| -E, --exclude | Exclude directories from search (directory list must be inside double quotes "", each directory separated by ',' ) Example: "ignore1, ignore2" |
| -f, --full | Start searching from the home of the user (example: "/home/user" in linux) |
| --gb | Show folders in Gigabytes instead of Megabytes. |
| -h, --help, ? | Show this help page and exit |
| -s, --sort | Sort results by: size, path or last-mod |
| -t, --target | Specify the name of the directories you want to search (by default, is node_modules) |
| -x, --exclude-hidden-directories | Exclude hidden directories ("dot" directories) from search. |
| -V, --version | Show rskill version |
You can install rskill via Cargo:
cargo install rskill
or download the latest release from Releases and add the binary to your system's PATH.
wget https://github.com/xsadia/rskill/releases/download/v0.1.0/rskill-linux-x86_64.tar.gz
tar -xzf rskill-linux-x86_64.tar.gz
sudo mv rskill /usr/local/bin