Skip to content

Command Line Tools

plugins remove

Removes an installed Wheels CLI plugin.

Terminal window
wheels plugins remove <name> [--force]

This command supports multiple parameter formats:

  • Positional parameters: wheels plugins remove cfwheels-bcrypt (plugin name)
  • Named parameters: name=value (e.g., name=cfwheels-bcrypt)
  • Flag parameters: --flag equals flag=true (e.g., --force equals force=true)

Parameter Mixing Rules:

ALLOWED:

  • Positional: wheels plugins remove cfwheels-bcrypt
  • Positional + flags: wheels plugins remove cfwheels-bcrypt --force
  • All named: name=cfwheels-bcrypt force=true

NOT ALLOWED:

  • Positional + named for same param: wheels plugins remove cfwheels-bcrypt name=other

Recommendation: Use positional for plugin name, flags for options: wheels plugins remove cfwheels-bcrypt --force

ParameterRequiredTypeDescription
nameYesstringPlugin name to remove
--forceNobooleanForce removal without confirmation

The plugins remove command safely uninstalls a plugin from your Wheels application. It:

  • Checks if the plugin is installed
  • Prompts for confirmation (unless --force is used)
  • Removes plugin from box.json
  • Cleans up plugin files
  • Updates plugin registry
Terminal window
wheels plugins remove wheels-vue-cli
Terminal window
wheels plugins remove wheels-testing --force
  1. Installation Check: Verifies the plugin is installed in box.json or plugins folder
  2. Confirmation: Prompts user to confirm removal (unless —force is used)
  3. Removal: Removes plugin entry from box.json
  4. File Cleanup: Deletes plugin files via CommandBox package service
  5. Verification: Confirms successful removal
Are you sure you want to remove the plugin 'wheels-vue-cli'? (y/n): y
Removing plugin: wheels-vue-cli...
[SUCCESS]: Plugin removed successfully
[INFO]: Run 'wheels plugins list' to see remaining plugins
[*] Removing plugin: wheels-vue-cli...
[SUCCESS]: Plugin removed successfully
[INFO]: Run 'wheels plugins list' to see remaining plugins
Are you sure you want to remove the plugin 'bcrypt'? (y/n): y
[*] Removing plugin: bcrypt...
[FAILED]: Failed to remove plugin: Plugin 'wheels-vue-cli' is not installed in plugins folder
Are you sure you want to remove the plugin 'wheels-vue-cli'? (y/n): n
Plugin removal cancelled.
  • The --force flag skips the confirmation prompt
  • Use wheels plugins list to verify removal
  • The command checks if plugin is actually installed before removal
  • Plugin must exist in box.json dependencies, devDependencies, or plugins folder
  • Restart your application after removing plugins that affect core functionality