sf

officialscriptablecautionproductivitynpm

Salesforce · Salesforce orgs, crm automation, and metadata from the terminal.

$ npm install -g @salesforce/cli
One-liner to try
$ sf org list --json

Agent pack

Copy into an agent

A markdown-ready setup brief with install, verify, safe starting commands, and guardrails for AI agents.

Open .md
Readiness
Great for agents · 75/100
Verify
sf --help
Agent URL
/cli/sf/agent.md

Quick reference

Installnpm install -g @salesforce/cli
Verifysf --help
First commandsf org list --json

About

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

Alternatives worth considering