Newer Version Available
Salesforce CLI Plug-ins
Some plug-ins are automatically installed when you install the CLI. These plug-ins contain commands that support source-driven development, such as creating and managing scratch orgs, synchronizing source code, creating second-generation packaging, and more. These commands are in the force namespace, such as force:project:create. Other core plug-ins contain commands that make it easier to use the CLI and are in their own namespace. For example, commands for setting configuration values (config) or aliases (alias) and authorizing orgs (auth).
See the Salesforce CLI Status page for a list of all the core CLI plug-ins, their GitHub repos, and their status.
You can install more plug-ins, such as Tableau CRM, to incorporate other Salesforce features into your development environment. You can also develop your own plug-in to add your custom functionality to Salesforce CLI. See Salesforce CLI Plug-In Developer Guide.
By default, the latest versions of the core plug-ins are installed when you install Salesforce CLI for the first time. Similarly, when you update the CLI to the latest version, the core plug-ins are also updated.
To determine the versions of the plug-ins currently installed in your CLI, run:
If a plug-in has (core) next to its name, it’s the version bundled with the CLI. If you install a specific version of the plug-in, its version number or tag is displayed instead.
Install Other Versions of Salesforce CLI Plug-ins
- To find a specific version of a plug-in, first find it on the Salesforce CLI Status page. Then navigate to its GitHub repo, such as salesforcecli/plugin-alias, which lists all the releases and tags.
- Install the version that contains the bug fix. For example, to install version 1.1.10
of the alias plug-in, run this
command:
The preceding example uses the plug-in’s short name, which is shown in the output of sfdx plugins --core. You can also use the plug-in’s long name, which is the name property in the plug-in’s package.json file.
- When you’re finished testing, go back to using the current version of the plug-in by
uninstalling the tagged
version.