Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Quickly Uninstall All Non-Core Plugins
Examples of non-core plugins include:
- Third-party plugins that you explicitly installed with the plugins install command.
- JIT plugins that were automatically installed when you ran one of their commands.
- Local plugins that you linked with the plugins link command.
To uninstall all non-core plugins, run this command.
1sf plugins resetAfter the command finishes, you’re left with only the core Salesforce CLI plugins, as if you had installed the CLI from scratch.
To uninstall, then reinstall, all non-core plugins, specify the --reinstall flag.
1sf plugins reset --reinstallTo remove all package manager-related files and directories (node_modules, package.json, yarn.lock, package-lock.json) from Salesforce CLI's internal data directory, specify the --hard flag.
1sf plugins reset --hard