Skip to content

Instantly share code, notes, and snippets.

@pozil
Last active September 24, 2019 17:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save pozil/142661e722326821abba40879931a4e8 to your computer and use it in GitHub Desktop.
Save pozil/142661e722326821abba40879931a4e8 to your computer and use it in GitHub Desktop.
DX setup script
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew tap caskroom/cask && brew cask install java
https://developer.salesforce.com/media/salesforce-cli/sfdx-osx.pkg
sfdx update
sfdx force:auth:web:login --setalias hub-org
sfdx force:config:set defaultdevhubusername=username --global
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment