pipenv run code example

Example 1: pipenv

pip install pipenv # install pipenv
pipenv install # create venv
pipenv shell # active shell (for running commands)
pipenv install --dev # install to dev
pipenv uninstall --all # uninstall all dependencies
pipenv --venv # the venv location

Example 2: pipenv

$ sudo apt install pipenv

Example 3: install packages from pipfile

# suppose you have a pipfile where the dependencies are
pipenv shell
pipenv install

Example 4: pipenv installs

pipenv install Django==3.1.2
pipenv install psycopg2-binary
pipenv install django-crispy-forms