tldr/pages/common/pip.md

24 lines
336 B
Markdown

# pip
> Python package manager
- Install a package
`pip install {{somepackage}}`
- Upgrade a package
`pip install -U {{somepackage}}`
- Uninstall a package
`pip uninstall {{somepackage}}`
- Save installed packages to file
`pip freeze > {{requirements.txt}}`
- Install packages from file
`pip install -r {{requirements.txt}}`