PKGS(1)
β¨ PKGS(1) β¨
okay so this is a page from the General Commands Manual, bestie β real PKGS(1) energy, and we're about to make it make sense π
πΈ NAME πΈ
pkgs β count installed packages
π SYNOPSIS π
pkgs [format]
π DESCRIPTION π
pkgs counts, like, all of your packages that were installed with installed package managers. that's it. that's the whole vibe. a little number that tells you how much stuff you've got going on π«Ά
β FORMAT SPECIFIERS β
here's the part where you pick what it actually prints out. the format specifiers are, in order:
${total}β Total amount of installed packages. literally just the number, no cap.${pkgs_total}β Like${total}, but lists package managers. (See EXAMPLES) π${pkgs_tiny_total}β Like${pkgs_total}, but lists package managers in the tiny format. (See EXAMPLES) π§
π¦ EXAMPLES π¦
so if you run pkgs with no format at all, like this:
pkgs
then pkgs runs with the default format, '${total}'. sample result: '1024' β cute, iconic, a whole thousand-and-change packages π
now here's a comparison of '${total}', '${pkgs_total}', and '${pkgs_tiny_total}'. the following commands were executed on the author's system:
pkgs '${total}'
pkgs '${pkgs_total}'
pkgs '${pkgs_tiny_total}'
which yields the output:
2941
2936 (apt) 5 (snap)
2941 (apt, snap)
and as you can see, both '${pkgs_total}' and '${pkgs_tiny_total}' list package managers, but '${pkgs_tiny_total}' does so in a more concise way. lowkey the tiny one ate π
β¨
π REPORTING BUGS π
please report any bugs to https://github.com/lptstr/fetchutils/issues or to kiedtl@tilde.team. bestie if something's broken, tell them, don't just suffer in silence π
π SEE ALSO π
also, the full documentation for pkgs is not maintained as a Texinfo manual. so if the info and pkgs programs are properly installed on your system, the command
info pkgs
should not give you access to the complete manual. yeah. that's the joke. that's the whole thing. π
π LICENSE π
Copyright Β© 2020 KiΓ«d Llaentenn and contributors
This utility is licensed under the MIT license. slay π
and that's the tea, bestie β this gorgeous little page is from the General Commands Manual, dated 1980-01-01, and it's the PKGS(1) page saying bye-bye π¦π
π¦ where this page comes from
- nixos 26.05: fetchutils-unstable 2021-03-16
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms