mirror of https://github.com/CrimsonTome/tldr.git
29 lines
493 B
Markdown
29 lines
493 B
Markdown
|
# 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`
|