PIP-FREEZE(1)

πŸ“¦ version 23.2.1, in centos-stream 9

🧊 PIP-FREEZE(1) β€” a.k.a. the pip manual, bestie edition ✨

okay so real talk, this page is from the pip manual set, and it's literally about pip-freeze, the command that spills out all your installed packages in requirements format. it's giving "screenshot of your entire python situation." πŸ’…


πŸ’– NAME πŸ’–

pip-freeze β€” description of the pip freeze command. yes, that's the whole name section, she's short and she knows it πŸŽ€


🌸 DESCRIPTION 🌸

so what does it do? it outputs your installed packages in requirements format. that's it, that's the vibe. 🫢

and the packages? they're listed in a case-insensitive sorted order. alphabetized, but make it chill about capital letters. lowkey iconic of her. πŸ”₯


πŸ¦‹ USAGE πŸ¦‹

here's the whole summoning ritual, no cap:

python -m pip freeze [options]

literally just that. options optional, obviously. 😌


✨ OPTIONS ✨

grab a snack, there's a full list, and we're going through every single one πŸ“

  • -r, --requirement <file> β€” uses the order in the given requirements file, plus its comments, when generating the output. and bestie, listen: this option can be used multiple times. stack it, queen πŸ‘‘
  • -l, --local β€” if you're in a virtualenv that has global access, this says do not output globally-installed packages. keep it local, keep it cozy 🧚
  • --user β€” only outputs packages installed in user-site. just the user-site ones, nothing else, periodt.
  • --path <path> β€” restricts the listing to the specified installation path for listing packages. and yeah, it can be used multiple times too. go off with your paths πŸ’œ
  • --all β€” the "don't skip anyone" flag. do not skip these packages in the output: setuptools, pip, distribute, wheel. normally they'd get left out, but with --all everybody gets an invite to the party πŸŽ‰
  • --exclude-editable β€” excludes editable packages from the output. bye bestie, you're editable, you're not coming πŸ™ˆ
  • --exclude <package> β€” excludes the specified package from the output. one specific package? out. blocked. unfollowed. πŸ’€

πŸ‘‘ AUTHOR πŸ‘‘

pip developers. the whole crew. main character energy collectively 🌈


The pip developers β€” same legends, now with legal paperwork ⭐


that's the whole page, and you ate it up fr fr πŸ˜­πŸ’– cute little sign-off: this is version 23.2, dated Jun 25, 2025 β€” go freeze some packages, queen πŸ§Šβœ¨πŸ‘‘

πŸ“¦ where this page comes from