All apps/Salesforce CLI

Salesforce CLI

sfdx

Salesforce CLI simplifies development and build automation when working with your Salesforce org.

Runs as sfdx, sf|macOS, Linux, Windows|developer.salesforce.com

Autocomplete

Fig spec, with what the manifest adds · 134 subcommands
Published once and never changed; check the digest before caching
sha256
4274763bc7eebcad51678570dac295f0dc4d88e809c1bf399d49bf2864cb4b38
Size
267041 bytes
Subcommands134 subcommands
sfdx force:lightning:lint
Analyze (lint) Aura component code
sfdx fig-completion
Generate a Fig completion spec
sfdx commands
List all the commands
sfdx plugins
List installed plugins
sfdx plugins:inspect
Displays installation properties of a plugin
sfdx plugins:install
Installs a plugin into the CLI
sfdx plugins:link
Links a plugin into the CLI for development
sfdx plugins:uninstall
Removes a plugin from the CLI
sfdx plugins:update
Update installed plugins
sfdx autocomplete
Display autocomplete installation instructions
sfdx update
Update the <%= config.bin %> CLI
sfdx which
Show which plugin a command is in
sfdx force:cmdt:create
Creates a new custom metadata type in the current project
sfdx force:cmdt:field:create
Generate a custom metadata field based on the field type provided
sfdx force:cmdt:generate
Generates a custom metadata type and all its records for the provided sObject
sfdx force:cmdt:record:create
Create a new record for a given custom metadata type in the current project
sfdx force:cmdt:record:insert
Create new custom metadata type records from a CSV file
sfdx alias:list
List username aliases for the Salesforce CLI
sfdx alias:set
Set username aliases for the Salesforce CLI
sfdx alias:unset
Unsets aliases for the Salesforce CLI
sfdx force:apex:execute
Executes anonymous Apex code
sfdx force:apex:log:get
Fetch debug logs
sfdx force:apex:log:list
Display a list of IDs and general information about debug logs
sfdx force:apex:test:report
Display test results for a specific asynchronous test run
sfdx force:apex:test:run
Invoke Apex tests
sfdx config:get
Get config var values for given names
sfdx config:list
Lists the config variables that the Salesforce CLI uses for various commands and tasks
sfdx config:set
Sets the configuration variables that the Salesforce CLI uses for various commands and tasks
sfdx config:unset
Unsets the local and global configuration variables for the Salesforce CLI
sfdx force:data:bulk:delete
Bulk delete records from a csv file
sfdx force:data:bulk:status
View the status of a bulk data load job or batch
sfdx force:data:bulk:upsert
Bulk upsert records from a CSV file
sfdx force:data:record:create
Creates and inserts a record
sfdx force:data:record:delete
Deletes a single record
sfdx force:data:record:get
Displays a single record
sfdx force:data:record:update
Updates a single record
sfdx force:data:soql:query
Execute a SOQL query
sfdx force:data:tree:export
Export data from an org
sfdx force:data:tree:import
Import data into an org
sfdx auth:accesstoken:store
Authorize an org using an existing Salesforce access token
sfdx auth:device:login
Authorize an org using a device code
sfdx auth:jwt:grant
Authorize an org using the JWT flow
sfdx auth:list
List auth connection information
sfdx auth:logout
Log out from authorized orgs
sfdx auth:sfdxurl:store
Authorize an org using an SFDX auth URL
sfdx auth:web:login
Authorize an org using the web login flow
sfdx force:limits:api:display
Display current org’s limits
sfdx force:limits:recordcounts:display
Display record counts for the specified standard and custom objects
sfdx force:org:display
Get the description for the current or target org
sfdx force:org:list
List all orgs you’ve created or authenticated to
sfdx force:org:open
Open your default scratch org, or another specified org
sfdx force:source:convert
Convert source into Metadata API format
sfdx force:source:deploy
Deploy source to an org Use this command to deploy source (metadata that’s in source format) to an org
sfdx force:source:deploy:cancel
Cancel a source deployment
sfdx force:source:deploy:report
Check the status of a metadata deployment
sfdx force:source:manifest:create
Create a project manifest that lists the metadata components you want to deploy or retrieve
sfdx force:source:open
Edit a Lightning Page with Lightning App Builder
sfdx force:source:retrieve
Retrieve source from an org
sfdx force:schema:sobject:describe
Displays the metadata for a standard or custom object
sfdx force:schema:sobject:list
List all objects of a specified category
sfdx force:analytics:template:create
Add an Analytics template to your workspace
sfdx force:apex:class:create
Create an Apex class
sfdx force:apex:trigger:create
Create an Apex trigger
sfdx force:lightning:app:create
Create a Lightning app
sfdx force:lightning:component:create
Create a bundle for an Aura component or a Lightning web component
sfdx force:lightning:event:create
Create a Lightning event
sfdx force:lightning:interface:create
Create a Lightning interface
sfdx force:lightning:test:create
Create a Lightning test
sfdx force:project:create
Create a Salesforce DX project
sfdx force:staticresource:create
Create a static resource
sfdx force:visualforce:component:create
Create a Visualforce component
sfdx force:visualforce:page:create
Create a Visualforce page
sfdx force:user:create
Create a user for a scratch org
sfdx force:user:display
Displays information about a user of a scratch org
sfdx force:user:list
List all authenticated users of an org
sfdx force:user:password:generate
Generate a password for scratch org users
sfdx force:user:permset:assign
Assign a permission set to one or more users of an org
sfdx help
Display help for <%= config.bin %>
sfdx force:apex:log:tail
sfdx force:community:create
Creates an Experience Cloud site using a template
sfdx force:community:publish
Publishes an Experience Builder site to make it live
sfdx force:community:template:list
Retrieves the list of templates available in your org
sfdx force:mdapi:convert
Convert metadata from the Metadata API format into the source format
sfdx force:mdapi:deploy
Deploy metadata to an org using Metadata API
sfdx force:mdapi:deploy:cancel
Cancel a metadata deployment
sfdx force:mdapi:deploy:report
Check the status of a metadata deployment
sfdx force:mdapi:describemetadata
Display the metadata types enabled for your org
sfdx force:mdapi:listmetadata
Display properties of metadata components of a specified type
sfdx force:mdapi:retrieve
Retrieve metadata from an org using Metadata API
sfdx force:mdapi:retrieve:report
Check the status of a metadata retrieval
sfdx force:org:clone
Clone a sandbox org
sfdx force:org:create
Create a scratch or sandbox org
sfdx force:org:delete
Mark a scratch or sandbox org for deletion
sfdx force:org:shape:create
Create a scratch org configuration (shape) based on the specified source org
sfdx force:org:shape:delete
Delete all org shapes for a target org
sfdx force:org:shape:list
List all org shapes you’ve created
sfdx force:org:snapshot:create
Snapshot a scratch org
sfdx force:org:snapshot:delete
Delete a scratch org snapshot
sfdx force:org:snapshot:get
Get details about a scratch org snapshot
sfdx force:org:snapshot:list
List scratch org snapshots
sfdx force:org:status
Report sandbox org creation status and authenticate to org
sfdx force:package1:version:create
Create a first-generation package version in the release org
sfdx force:package1:version:create:get
Retrieve the status of a package version creation request
sfdx force:package1:version:display
Display details about a first-generation package version
sfdx force:package1:version:list
List package versions for the specified first-generation package or for the org
sfdx force:package:create
Create a package
sfdx force:package:delete
Delete a package
sfdx force:package:install
Install a package in the target org
sfdx force:package:install:report
Retrieve the status of a package installation request
sfdx force:package:installed:list
List the org’s installed packages
sfdx force:package:list
List all packages in the Dev Hub org
sfdx force:package:uninstall
Uninstall a second-generation package from the target org
sfdx force:package:uninstall:report
Retrieve status of package uninstall request
sfdx force:package:update
Update package details
sfdx force:package:version:create
Create a package version
sfdx force:package:version:create:list
List package version creation requests
sfdx force:package:version:create:report
Retrieve details about a package version creation request
sfdx force:package:version:delete
Delete a package version
sfdx force:package:version:displayancestry
Display the ancestry tree for a 2GP managed package version
sfdx force:package:version:list
List all package versions in the Dev Hub org
sfdx force:package:version:promote
Promote a package version to released
sfdx force:package:version:report
Retrieve details about a package version in the Dev Hub org
sfdx force:package:version:update
Update a package version
sfdx force:source:delete
Delete source from your project and from a non-source-tracked org
sfdx force:source:ignored:list
Check your local project package directories for forceignored files
sfdx force:source:pull
Pull source from the scratch org to the project
sfdx force:source:push
Push source to a scratch org from the project
sfdx force:source:status
List local changes and/or changes in a scratch org
sfdx force:source:tracking:clear
Clear all local source tracking information
sfdx force:source:tracking:reset
Reset local and remote source tracking
sfdx force:lightning:lwc:test:create
Creates a Lightning web component test file with boilerplate code inside a __tests__ directory
sfdx force:lightning:lwc:test:run
Invokes Lightning Web Components Jest unit tests
sfdx force:lightning:lwc:test:setup
Install Jest unit testing tools for Lightning Web Components
sfdx plugins:generate
Create a new sfdx-cli plugin