Update
scdev self-updateInstall
macOS / Linux:
curl -fsSL https://raw.githubusercontent.com/ScaleCommerce-DEV/scdev/main/install.sh | shFeatures
scdev cleanupnow prunes only truly unused resources - previously the bare command deleted every volume of the current project, and--globaldeleted volumes across every registered project plus orphans, contradicting how "cleanup" is normally understood (cf.docker system prune,npm cache clean) and making the command unsafe to run without thinking. The--globalflag is gone;scdev cleanupnow lists and removes (in one combined confirm): (1) state entries whose project directory is missing from disk, (2) containers carrying thescdev.projectlabel whose project is no longer registered + on disk, (3) volumes not owned by any still-registered project. Orphaned containers are removed before volumes so the old "volume is in use" failure - which hit projects whose state was dropped but whose containers stayed alive - no longer blocks the volume pass. Resources belonging to still-registered projects are never touched; usescdev removefor a full project tear-down.