Installing the SF Command Plugins
Prerequisite
Ensure that SFDX Command plugins are not installed in the org.
• If SFDX command plugins are currently installed in the org, run the following command to uninstall the plugins:
npm uninstall sfdx-cli --global
• Run the following command to confirm that the SFDX command plugins are uninstalled successfully:
sfdx -v
The following message is displayed if the SFDX command plugins are uninstalled :
sfdx: command not found
Installation Steps
To install the SF command plugins:
1. Run the following command to install SF command plugins:
npm install @salesforce/cli --global
|
Run the following command to check the version of the installed SF command plugins:
sf -v
|
2. Run the following command to link the SF command plugins installed on your environment to Salesforce CLI:
sf plugins link
|
This command is for linking the plugin to run your SF commands.
|