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