Newer Version Available

This content describes an older version of this product. View Latest

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.

Autocomplete isn’t currently available on computers running Windows.

Note

Before you can use the autocomplete feature, install it using these steps.

  1. Run sfdx autocomplete.
  2. Follow the displayed instructions.

If autocomplete doesn’t work immediately after installation, run sfdx autocomplete --refresh-cache. Then open a new terminal window.