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:
-
Change to the sfdx directory.
-
Run the install script.
The Salesforce CLI is installed in /usr/local/bin/sfdx.