Skip to content

Command Line Tools

wheels packages remove

Removes an installed package by deleting vendor/<name>/. Removal is explicit: without --yes the command changes nothing, prints Re-run with --yes to confirm removing '<name>', and exits non-zero. As a safety check, the command refuses if the directory has no package.json — that shape suggests the dir isn’t a Wheels package and we shouldn’t touch it.

"
wheels packages remove <name> --yes
FlagDescription
--yesRequired. Confirms the removal. Missing --yes throws Wheels.Packages.ConfirmationRequired.
ErrorCause
Wheels.Packages.ConfirmationRequired--yes was not passed. Nothing was deleted.
Wheels.Packages.NotInstalledvendor/<name>/ does not exist.
Wheels.Packages.NotAPackagevendor/<name>/ has no package.json. Remove it manually if you’re sure.
"
$ wheels packages remove wheels-sentry --yes
Removed vendor/wheels-sentry.