Skip to content

Instantly share code, notes, and snippets.

@gzagatti
Created August 2, 2017 15:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gzagatti/c6d780e07132f287af1d1225434fd152 to your computer and use it in GitHub Desktop.
Save gzagatti/c6d780e07132f287af1d1225434fd152 to your computer and use it in GitHub Desktop.
'Select all the dependencies of a conda package using jq.'
conda info --json r-essentials | jq -r ' ."r-essentials"[] | select(.version == "1.5.2" and .build == "r3.3.2_0") | .depends[] '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment