# Salesforce CLI

> The sf command line for Salesforce DX development

Source: https://talira.ai/catalog/salesforce-cli-6etca156
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / cli](https://talira.ai/categories/developer-tools/cli), [cloud / cli](https://talira.ai/categories/cloud/cli)
- Platforms: macos, windows, linux[^2]
- Licence: Apache-2.0[^1]
- Pricing: Free and open source[^1]
- Pricing notes: The CLI is free and open source; it works with Salesforce orgs, which are paid products.
- Free tier: yes[^1]
- Backed by: [Salesforce](https://talira.ai/orgs/salesforce.md)
- Extends: [VS Code](https://talira.ai/ecosystems/vscode.md#ext-kbaj7ynw)

Salesforce CLI (`sf`) is Salesforce's single command-line interface for all Salesforce DX features, for developing Salesforce Platform applications from a terminal or a script; `sf commands` lists what it can do. It is built on oclif and extended with plugins, installs from npm as @salesforce/cli or with Salesforce's installers for macOS, Windows and Linux, and replaces the older `sfdx` (v7) CLI. Salesforce's VS Code extensions use it.

## Links

- Website: https://developer.salesforce.com/tools/salesforcecli
- GitHub: https://github.com/salesforcecli/cli
- Docs: https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_intro.htm

## Problems it solves

- deploy Salesforce metadata from CI
- script changes to my Salesforce org from the terminal
- run Apex tests from the command line

## Features

- Salesforce DX commands
- plugins (oclif)
- npm and native installers

## Trust

Overall: 0.56 out of 1.
Signals: maintenance 1.00, adoption 0.46, momentum 0.17, community 0.59, backing 0.30, extensibility 0.00.

- last commit 6 days ago
- 243 commits in the last 90 days
- latest release 2.161.5 6 days ago
- 189 GitHub stars
- 29 contributors
- backed by Salesforce

## Alternatives

- [CircleCI CLI](https://talira.ai/catalog/circleci-cli-z9af271a.md): Use CircleCI from the command line

## Sources

[^1]: https://github.com/salesforcecli/cli/blob/main/LICENSE.txt (checked 24 Nov 2026)
[^2]: https://developer.salesforce.com/tools/salesforcecli (checked 24 Nov 2026)
