Install Salesforce CLI¶ How to install Salesforce CLI on your computer. Prerequisites¶ WindowsmacOS Scoop Java NodeJS Homebrew Java NodeJS Installation¶ WindowsmacOS PowerShell1npm install -global @salesforce/cli Bash1npm install -global @salesforce/cli Resources¶ Salesforce Developers - Install Salesforce CLI Was this page helpful? Thanks for your feedback! Thanks for your feedback! Help us improve this page by using our feedback form or contact us on Slack.