Salesforce CLI (sf)
By Salesforce
What It Does
The official Salesforce command-line interface. Deploy metadata, run tests, manage orgs, execute SOQL, and automate everything.
Glen's Take
The backbone of every Salesforce CI/CD pipeline. The new 'sf' unified CLI is a big improvement over the old sfdx. Learn 'sf project deploy start', 'sf org login web', and 'sf apex run test' — those three commands cover 80% of daily use.
Tags
Need help with your Salesforce tooling stack?
I'll help you pick and configure the right tools for your team.
View Consulting →Enjoyed this? Get more like it.
Glen's Musings — AI, investing, and building things. Occasional. Free.
More CLI Tools
sfdx-git-delta (sgd)
Generate a Salesforce deployment package.xml by comparing two git commits. Deploy only what changed instead of the entire project.
Read moreOpen SourceTexei SFDX Plugin
Swiss army knife CLI plugin. Manage connected apps, sharing rules, user permissions, scratch org setup, and more — all from the command line.
Read moreOpen Sourcesfdx-hardis
Full CI/CD framework for Salesforce with monitoring, backup, org cleaning, and deployment tools. Includes a web-based UI for non-developers.
Read more