Update cheatsheets

This commit is contained in:
ivuorinen
2025-11-24 00:22:14 +00:00
parent 1a1835ed4d
commit 1dafedaa9a
2 changed files with 28 additions and 33 deletions

View File

@@ -5,33 +5,8 @@ source: https://github.com/tldr-pages/tldr.git
---
# pip3
> Python package manager.
> More information: <https://pip.pypa.io>.
> This command is an alias of `pip`.
- Install a package:
- View documentation for the original command:
`pip3 install {{package}}`
- Install a specific version of a package:
`pip3 install {{package}}=={{version}}`
- Upgrade a package:
`pip3 install {{[-U|--upgrade]}} {{package}}`
- Uninstall a package:
`pip3 uninstall {{package}}`
- Save the list of installed packages to a file:
`pip3 freeze > {{requirements.txt}}`
- Install packages from a file:
`pip3 install {{[-r|--requirement]}} {{requirements.txt}}`
- Show installed package info:
`pip3 show {{package}}`
`tldr pip`