Newer Version Available

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

Install the Salesforce DX CLI Using a Standalone Version

The standalone version of the Salesforce DX CLI is distributed as a tarball.

The tarball is called sfdx-version-OS-ARCH.tar.xz, where:

  • version is a version string, such as v5.7.6-d42cf65
  • OS is either darwin, linux, freebsd, openbsd, or windows
  • ARCH is either amd64 or 386
  1. Download or wget the tarball. Find the download URL for your tarball from this manifest file.
  2. Unpack the contents. For example, if you downloaded the tarball in your current directory:
    1$ tar -xvJf sfdx-v5.7.6-d42cf65-linux-amd64.tar.xz
  3. Change to the sfdx directory.
    1$ cd sfdx
  4. Run the install script.
    1$ ./install

    The Salesforce CLI is installed in /usr/local/bin/sfdx.