sf
officialscriptablepopularcautionproductivitynpm
Salesforce · Salesforce orgs, crm automation, and metadata from the terminal.
$ npm install -g @salesforce/cliOne-liner to try
$ sf org list --jsonAgent pack
Quick reference
Install
npm install -g @salesforce/cliVerify
sf --helpFirst command
sf org list --jsonMachine JSON
/cli/sf.jsonAbout
The official CLI from Salesforce. Salesforce orgs, crm automation, and metadata from the terminal. Supports structured output — good for scripts and agents.
Example workflow
1. sf org list --json