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
Here is what the above code is Doing:
1. Install pipenv
2. Create a virtual environment
3. Install all dependencies from Pipfile
4. Activate the virtual environment
5. Install all dev dependencies from Pipfile.lock
6. Uninstall all dependencies
7. Show the location of the virtual environment