PIP-FREEZE(1)

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

πŸ’… PIP-FREEZE(1) πŸ’…

ok so this is pip-freeze, and yes bestie it lives in the pip manual β€” section 1, one-shot commands, the whole vibe πŸŽ€


✨ NAME ✨

pip-freeze β€” literally the whole description of the pip freeze command, right here, no gatekeeping 🌸

πŸ¦‹ DESCRIPTION πŸ¦‹

it outputs your installed packages in requirements format. that's it. that's the tweet πŸ’–

and the packages come out in a case-insensitive sorted order β€” yes, that specific, no cap ✨ (so Django and django land next to each other, iykyk)

🌈 USAGE 🌈

python -m pip freeze [options]

run it exactly like that, bestie. python -m pip, not just pip, that's the vibe they're giving us 🫢

πŸ’… OPTIONS πŸ’…

okay this is the part you actually came for, let's go πŸ”₯

  • -r, --requirement <file> β€” use the order from the given requirements file and its comments when generating the output. and the real tea: this option can be used multiple times πŸ‘‘
  • -l, --local β€” if you're in a virtualenv that has global access, this says "don't output the globally-installed packages." keep it local, keep it cute πŸ’œ
  • --user β€” only output packages installed in user-site. that's the whole assignment πŸŽ€
  • --path <path> β€” restrict the listing to the specified installation path. and yes, can be used multiple times ✨
  • --all β€” do not skip these packages in the output: distribute, setuptools, pip, wheel. by default these get skipped, so this is the "no, show me everything" flag πŸ™ˆ
  • --exclude-editable β€” exclude editable packages from the output. bye felicia πŸ‘‹
  • --exclude <package> β€” exclude the specified package from the output. hand-pick who doesn't make the cut πŸ’€

🌟 AUTHOR 🌟

the pip developers 🌈 (icons, all of them)

The pip developers β€” that's the copyright line, word for word, respect the paper trail 🫢


ngl this page is short but it ate πŸ’… no skips, no filler, just freeze behaviour. go forth and <pink>freeze</pink> your little heart out.

and that's a wrap bestie 🧚 β€” this was version 22.3, dated Jun 25, 2025, see you in the next manpage πŸ‘‘πŸ’–

πŸ“¦ where this page comes from