Newer Version Available
Autocomplete CLI Commands, Parameters, and File Names
Partially type a Salesforce CLI command and then press Tab to autocomplete it, or press
Tab twice to see all the available commands. The autocomplete feature also works on Salesforce CLI
parameters and file names.
Before you can use the autocomplete feature, install it using these steps.
- Make sure you’re on the latest version of the CLI. Run sfdx plugins:install salesforcedx@latest.
- Run sfdx plugins:install @oclif/plugin-autocomplete.
- Run sfdx autocomplete.
- Follow the displayed instructions.
If autocomplete does not work immediately after installation, run sfdx autocomplete --refresh-cache. Then open a new terminal window.