mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 14:26:00 +02:00
Add pip.md
This commit is contained in:
parent
a6c0586382
commit
d26c5b4b2b
1 changed files with 23 additions and 0 deletions
23
common/pip.md
Normal file
23
common/pip.md
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# 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}}`
|
Loading…
Add table
Reference in a new issue