mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Merge pull request #705 from proinsias/patch-4
Rearrange 'pyenv install' sections in COMMANDS.md
This commit is contained in:
commit
7214f59385
1 changed files with 13 additions and 22 deletions
35
COMMANDS.md
35
COMMANDS.md
|
@ -185,7 +185,7 @@ or, if you prefer 3.3.3 over 2.7.6,
|
||||||
|
|
||||||
## `pyenv install`
|
## `pyenv install`
|
||||||
|
|
||||||
Install a Python version (using `python-build`).
|
Install a Python version (using [`python-build`](https://github.com/yyuu/pyenv/tree/master/plugins/python-build)).
|
||||||
|
|
||||||
Usage: pyenv install [-f] [-kvp] <version>
|
Usage: pyenv install [-f] [-kvp] <version>
|
||||||
pyenv install [-f] [-kvp] <definition-file>
|
pyenv install [-f] [-kvp] <definition-file>
|
||||||
|
@ -203,6 +203,18 @@ Install a Python version (using `python-build`).
|
||||||
-p/--patch Apply a patch from stdin before building
|
-p/--patch Apply a patch from stdin before building
|
||||||
-g/--debug Build a debug version
|
-g/--debug Build a debug version
|
||||||
|
|
||||||
|
To list the all available versions of Python, including Anaconda, Jython, pypy, and stackless, use:
|
||||||
|
|
||||||
|
$ pyenv install --list
|
||||||
|
|
||||||
|
Then install the desired versions:
|
||||||
|
|
||||||
|
$ pyenv install 2.7.6
|
||||||
|
$ pyenv install 2.6.8
|
||||||
|
$ pyenv versions
|
||||||
|
system
|
||||||
|
2.6.8
|
||||||
|
* 2.7.6 (set by /home/yyuu/.pyenv/version)
|
||||||
|
|
||||||
## `pyenv uninstall`
|
## `pyenv uninstall`
|
||||||
|
|
||||||
|
@ -264,24 +276,3 @@ Lists all Python versions with the given command installed.
|
||||||
2.6.8
|
2.6.8
|
||||||
2.7.6
|
2.7.6
|
||||||
3.3.3
|
3.3.3
|
||||||
|
|
||||||
|
|
||||||
## `pyenv install`
|
|
||||||
|
|
||||||
Part of [Python-build](https://github.com/yyuu/pyenv/tree/master/plugins/python-build), this installs versions of python
|
|
||||||
|
|
||||||
$ pyenv install 2.7.6
|
|
||||||
$ pyenv install 2.6.8
|
|
||||||
$ pyenv versions
|
|
||||||
system
|
|
||||||
2.6.8
|
|
||||||
* 2.7.6 (set by /home/yyuu/.pyenv/version)
|
|
||||||
|
|
||||||
|
|
||||||
## `pyenv install --list`
|
|
||||||
|
|
||||||
List available remote versions of Python, including Anaconda, Jython, pypy, and stackless
|
|
||||||
|
|
||||||
$ pyenv install --list
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue