Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

25
pyenv-virtualenv Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# pyenv virtualenv
> Create virtual environments based on one's installed Python distributions.
> More information: <https://github.com/pyenv/pyenv-virtualenv>.
- Create a new Python 3.6.6 virtual environment:
`pyenv virtualenv {{3.6.6}} {{virtualenv_name}}`
- List all existing virtual environments:
`pyenv virtualenvs`
- Activate a virtual environment:
`pyenv activate {{virtualenv_name}}`
- Deactivate the virtual environment:
`pyenv deactivate`