Quickly purge vendor and node_modules directories from your projects

Fund package maintenance!
Nick Welsh

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/nickwelsh/cull

v1.0.0 2025-09-18 22:56 UTC

This package is auto-updated.

Last update: 2025-09-18 22:57:23 UTC


README

PHP GitHub License GitHub Release Packagist Version

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+.