Skip to main content

ATTENTION: All Salesforce CLI users,

 

Are you curious to know how we are moving from having 2 Salesforce CLIs (sfdx and sf) to 1 CLI?

The answer is sf (v2)!

 

We are excited to launch version 2 (v2) of the Salesforce CLI (sf) in Beta. We would love for you to try it out and give us feedback. This Beta launch is a culmination of our teams working hard to incorporate your feedback throughout the years. We are thrilled to show you our update and we hope you love it!

 

What is sf?

About two years ago, the CLI team embarked on the Unification Initiative with a vision to unify the various CLI experiences across the Salesforce platform. We announced the next evolution of our Salesforce CLI with a new executable called “sf”. Building sf as a separate CLI, gave us an opportunity to design, test, and launch not only a new command structure for rapid cross-cloud development but also a more user friendly, performant, and intuitive CLI.

 

What is sf (v2)?

sf (v2) is a major version of the sf CLI which is smart enough to understand all your sfdx commands as well as the sf commands with much faster install and update times. sf (v2) is everything sf is and sfdx is. After you install sf (v2) you’ll have access to all the sfdx and sf commands, and can continue to run any of them.

 

Why should you move to sf (v2) CLI? 

  1. New capabilities are going to come ONLY via sf. We're going to stop publishing updates to sfdx (except for security related fixes). All new fixes/features in the plugins will go into sf(v2) CLI only.
  2. You will experience faster updates and installs as the install/download size has been greatly reduced.
  3. You can still use the sfdx commands and the sf CLI will still respond the same way! 
  4. You will have one set of CLI plugins 

How to move to Beta of sf (v2)?

These instructions cover:

  • How to move to Beta of sf (v2),
  • How to revert back to your current CLI installation,
  • How sf v2 updates will be applied during this Beta period.

Report any bugs, feature requests, surprising behaviors via the GitHub repo. We’re excited to hear from you!

As always, thank you for your support!

 

Try the Salesforce CLI sf v2 in Beta today!

2 个回答