1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 09:02:08 +02:00
tldr/pages/common/pipenv.md
Lena c9775847b6
pages/*: use the imperative in descriptions (#12574)
* pages/*: use the imperative in descriptions

* go-fmt: put the description on one line
2024-04-18 09:34:00 +05:30

712 B

pipenv

Simple and unified Python development workflow. Manage packages and the virtual environment for a project. More information: https://pypi.org/project/pipenv.

  • Create a new project:

pipenv

  • Create a new project using Python 3:

pipenv --three

  • Install a package:

pipenv install {{package}}

  • Install all the dependencies for a project:

pipenv install

  • Install all the dependencies for a project (including dev packages):

pipenv install --dev

  • Uninstall a package:

pipenv uninstall {{package}}

  • Start a shell within the created virtual environment:

pipenv shell

  • Generate a requirements.txt (list of dependencies) for a project:

pipenv lock --requirements