Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save aidan-harding/8ca36333e86fd6ec1a8502b1fd767035 to your computer and use it in GitHub Desktop.
Save aidan-harding/8ca36333e86fd6ec1a8502b1fd767035 to your computer and use it in GitHub Desktop.
Install SFDX project dependencies using jq and the CLI
jq '.packageDirectories[] | select(.default == true) | .dependencies[].package' sfdx-project.json | xargs -p -I {} zsh -c "sf package install --publish-wait 20 --wait 20 --no-prompt --package '{}'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment