Installing the SF Plugin
You must run the following commands in sequence to install the new SF plugin.
To install the SF plugin:
No.
Task
Command
1.
Check the SFDX command plugins version currently installed in the org.
Run the following command :
sfdx -v
2.
Uninstall SFDX command plugins.
Run the following command :
npm uninstall sfdx-cli --global
The SFDX command is uninstalled successfully.
3.
Confirm that the SFDX command plugins are uninstalled successfully.
Run the following command :
sfdx -v
When the SFDX plugin is uninstalled, the following message is displayed:
sfdx: command not found
4.
Install SF command plugins.
Run the following command :
npm install @salesforce/cli --global
The SF plugins are installed successfully.
5.
Check the version of the installed SF command plugins.
Run the following command :
sf -v
7.
Link the SF command plugins.
Run the following command :
sf plugins link
The SF plugins are linked successfully
Was this helpful?