Restart your Terminal to ensure the sf command is recognized. 3. Linux (TAR File) For advanced users or CI/CD environments:
Download the x64 TAR file or use command-line tools like wget . Installation Guide by Platform 1. Windows Installation Download the .exe installer from the official site. Run the installer and follow the setup wizard prompts. download salesforce dx cli
Select the version for Apple Silicon (M1/M2/M3 chips) or Intel CPU . Restart your Terminal to ensure the sf command is recognized
If you already have installed, you can skip the manual installers and use the Node Package Manager: npm install @salesforce/cli --global Use code with caution. download salesforce dx cli