GIT-PKGS(1)

πŸ“¦
version 0.21.0 Β· 2 versions
, in nixpkgs unstable

πŸ’… NAME πŸ’…

ok so bestie, listen up: git-pkgs-licenses β€” the one that shows you all the license info for your dependencies ✨ literally the tool you want when you need to know what legal vibes your project is giving off.


πŸŽ€ SYNOPSIS πŸŽ€

git-pkgs licenses [flags]

πŸ¦‹ DESCRIPTION πŸ¦‹

So basically this command goes and pulls the license info for every single dependency in your project. Like, all of them, no cap. 🫢

And the best part? Licenses get normalized to SPDX identifiers when that's possible β€” so you're not out here decoding seventeen different ways people wrote "MIT." iconic behavior honestly. πŸ‘‘


✨ OPTIONS ✨

  • --allow=[] β€” an allowlist, lowkey. Only these licenses are allowed to pass, and if one violates it you get exit 1. 🚨
  • -b, --branch="" β€” which branch to query. defaults to the current branch, obviously.
  • -c, --commit="" β€” check the licenses as they were at a specific commit. defaults to HEAD.
  • --copyleft[=false] β€” flags copyleft licenses for you (that's GPL, AGPL β€” the ones that make companies nervous πŸ’€).
  • --deny=[] β€” the blocklist bestie. These licenses are denied, and if one shows up you get exit 1. πŸ™ˆ
  • --dependencies="direct" β€” which dependencies to include. your choices are direct, indirect, or all. defaults to direct.
  • --drift[=false] β€” detects dependencies whose license changed between the installed version and the latest version. im literally obsessed, this is the messy-drama detector. πŸ“
  • -e, --ecosystem="" β€” filter by ecosystem. one ecosystem only, pick your fave.
  • -f, --format="text" β€” output format: text, json, or csv. defaults to text, as one does.
  • --group[=false] β€” groups the output by license. so clean, so organized, main character energy. 🌸
  • -h, --help[=false] β€” help for licenses. your little safety net. 🧚
  • --license-text[=false] β€” includes the license and notice text from package artifacts in the JSON output. the full legal novel, if you want it. πŸ“œ
  • --offline[=false] β€” uses cached metadata and makes zero network requests. for when the wifi is giving nothing. πŸ’€
  • --permissive[=false] β€” flags non-permissive licenses. yes, that's what it says. it flags the non-permissive ones. πŸŽ€
  • --unknown[=false] β€” flags packages with unknown licenses. the mystery boxes get called out. πŸ•΅οΈ

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

these ones come from the parent command, so they're like, family traits πŸ’–

  • --color="auto" β€” when to colorize output: auto, always, or never. defaults to auto.
  • --include-submodules[=false] β€” includes git submodules when scanning for manifests. don't forget the lil nested ones 🫢
  • -p, --pager[=false] β€” use the pager for output. scroll in style.
  • -q, --quiet[=false] β€” suppresses non-essential output. shhh. 🀫

πŸ‘‘ SEE ALSO πŸ‘‘


πŸŽ€ HISTORY πŸŽ€

28-Oct-2026 β€” auto generated by spf13/cobra. not me being a cobra stan 🐍✨


πŸ’– okay that's the whole thing bestie, no gatekeeping. all the flags, all the defaults, all the facts β€” preserved, slayed, periodt. πŸ’…

git-pkgs β€” Oct 2026 πŸŒˆπŸ¦‹πŸ’œ

πŸ“¦ where this page comes from