Skip to content

Instantly share code, notes, and snippets.

@patmaddox
Created July 30, 2022 04:13
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 patmaddox/52f7b185d4b4a57449bd56779aac3c86 to your computer and use it in GitHub Desktop.
Save patmaddox/52f7b185d4b4a57449bd56779aac3c86 to your computer and use it in GitHub Desktop.
fetch dependencies for a local package file
pkg fetch -U -d -o ~/my_new_packages \
$(pkg info -R --raw-format json -F release_test-0.1.0.pkg | jq -r '.["deps"] | keys | join(" ")')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment