Newer Version Available
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
- Download or wget the tarball. Find the download URL for your tarball from this manifest file.
-
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 -
Change to the sfdx directory.
1$ cd sfdx -
Run the install script.
1$ ./installThe Salesforce CLI is installed in /usr/local/bin/sfdx.