GIT-PKGS(1)
π 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 getexit 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 toHEAD.--copyleft[=false]β flags copyleft licenses for you (that'sGPL,AGPLβ the ones that make companies nervous π).--deny=[]β the blocklist bestie. These licenses are denied, and if one shows up you getexit 1. π--dependencies="direct"β which dependencies to include. your choices aredirect,indirect, orall. defaults todirect.--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, orcsv. defaults totext, as one does.--group[=false]β groups the output by license. so clean, so organized, main character energy. πΈ-h,--help[=false]β help forlicenses. your little safety net. π§--license-text[=false]β includes the license and notice text from package artifacts in theJSONoutput. 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, ornever. defaults toauto.--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 π
git-pkgs(1)β the main character herself.
π 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
- nixpkgs unstable: git-pkgs 0.21.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms