mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-21 14:51:03 +00:00
Update cheatsheets
This commit is contained in:
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# virtualenv
|
||||
|
||||
> Create virtual isolated Python environments.
|
||||
> More information: <https://virtualenv.pypa.io/>.
|
||||
> More information: <https://virtualenv.pypa.io/en/latest/cli_interface.html>.
|
||||
|
||||
- Create a new environment:
|
||||
|
||||
@@ -14,11 +14,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Customize the prompt prefix:
|
||||
|
||||
`virtualenv --prompt={{prompt_prefix}} {{path/to/venv}}`
|
||||
`virtualenv --prompt {{prompt_prefix}} {{path/to/venv}}`
|
||||
|
||||
- Use a different version of Python with virtualenv:
|
||||
|
||||
`virtualenv --python={{path/to/pythonbin}} {{path/to/venv}}`
|
||||
`virtualenv {{[-p|--python]}} {{path/to/pythonbin}} {{path/to/venv}}`
|
||||
|
||||
- Start (select) the environment:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user