mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-09 14:53:35 +02:00
pipenv: add page (#1791)
This commit is contained in:
parent
bb70424647
commit
93c8c59f8c
1 changed files with 28 additions and 0 deletions
28
pages/common/pipenv.md
Normal file
28
pages/common/pipenv.md
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# pipenv
|
||||||
|
|
||||||
|
> Simple and unified Python development workflow.
|
||||||
|
> Manages packages and the virtual environment for a project.
|
||||||
|
|
||||||
|
- Create a new project:
|
||||||
|
|
||||||
|
`pipenv`
|
||||||
|
|
||||||
|
- Create a new project using Python 3:
|
||||||
|
|
||||||
|
`pipenv --three`
|
||||||
|
|
||||||
|
- Install a package:
|
||||||
|
|
||||||
|
`pipenv install {{package_name}}`
|
||||||
|
|
||||||
|
- Install all the dependencies for a project (including dev):
|
||||||
|
|
||||||
|
`pipenv install --dev`
|
||||||
|
|
||||||
|
- Uninstall a package:
|
||||||
|
|
||||||
|
`pipenv uninstall {{package_name}}`
|
||||||
|
|
||||||
|
- Start a shell within the created virtual environment:
|
||||||
|
|
||||||
|
`pipenv shell`
|
Loading…
Add table
Reference in a new issue