Newer Version Available

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

Install the CLI on Windows

You install the Salesforce CLI on Windows with an .exe file.
  1. Download and run the Windows installer. If the installer does not find Git, it is also installed.
  2. Check that your PATH environment variable includes the location of the Git binaries. For example:
    1set PATH=%PATH%;C:\Program Files\Git\bin

The Salesforce CLI works best within the native Windows command prompt (cmd.exe) and the Microsoft Powershell. We do not recommend using the Salesforce CLI with a Linux terminal emulator, such as cygwin or MinGW, because support for bugs is limited.

Warning