Easily find and delete node_modules folders to reclaim disk space. This extension scans a directory of your choice, lists all found node_modules folders, allows you to sort them by size or last modified date, and delete them with a simple action.
node_modules: Scans a user-defined root folder and depth for node_modules directories.node_modules folder.node_modules folders.node_modules directory in Finder.Before using the "Kill Node Modules" extension, you'll need to configure a couple of preferences. Raycast will prompt you for these when you first run the command if they are not set.
You can access and modify these settings at any time via Raycast preferences:
⌥ + Space by default).⌘ + , (Configure Extension).Root Folder:
node_modules folders. For example, you might set this to your main development projects folder, like ~/Developer, ~/Code, or ~/Sites.Scan Depth:
2 or 3) will result in a faster scan but might miss node_modules in deeply nested project structures.5 or more) will be more comprehensive but may take significantly longer to complete, especially if the root folder contains many subdirectories.
