mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 06:05:59 +02:00
pyenv-virtualenv: add activate/deactivate examples (#3842)
This commit is contained in:
parent
5bc64c80e1
commit
bc50bdf850
1 changed files with 9 additions and 1 deletions
|
@ -5,8 +5,16 @@
|
||||||
|
|
||||||
- Create a new Python 3.6.6 virtual environment:
|
- Create a new Python 3.6.6 virtual environment:
|
||||||
|
|
||||||
`pyenv virtualenv {{3.6.6}} {{my-virtual-env-3.6.6}}`
|
`pyenv virtualenv {{3.6.6}} {{virtualenv_name}}`
|
||||||
|
|
||||||
- List all existing virtual environments:
|
- List all existing virtual environments:
|
||||||
|
|
||||||
`pyenv virtualenvs`
|
`pyenv virtualenvs`
|
||||||
|
|
||||||
|
- Activate a virtual environment:
|
||||||
|
|
||||||
|
`pyenv activate {{virtualenv_name}}`
|
||||||
|
|
||||||
|
- Deactivate the virtual environment:
|
||||||
|
|
||||||
|
`pyenv deactivate`
|
||||||
|
|
Loading…
Add table
Reference in a new issue