nickwelsh / cull
Quickly purge vendor and node_modules directories from your projects
Fund package maintenance!
v1.0.0
2025-09-18 22:56 UTC
Requires
- php: ^8.1
- laravel/prompts: ^0.3.6
- symfony/process: ^6.4 || ^7.0
Requires (Dev)
- larastan/larastan: ^3.7
- laravel/pint: ^1.25
- peckphp/peck: ^0.1.3
- rector/rector: ^2.1
This package is auto-updated.
Last update: 2026-03-16 18:25:56 UTC
README
Quickly find and purge vendor and node_modules directories from your projects to free up disk space.
Install (global)
composer global require nickwelsh/cull
Ensure Composer's global bin dir is on your PATH:
export PATH="$(composer global config bin-dir --absolute 2>/dev/null):$PATH"
Usage
From any directory:
cull
Cull will recursively scan the current working directory, list all vendor and node_modules folders it finds, and let you select which ones to delete.
You can skip file size calculations by passing the --no-size flag.
cull --no-size
Notes
- Works on macOS, Linux, and Windows (via PHP). Requires PHP 8.1+.