Rearrange 'pyenv install' sections in COMMANDS.md

I noticed that there were 3 sections for `pyenv install`, so I've rearranged these to make 1 section.
This commit is contained in:
Francis T. O'Donovan 2016-09-15 09:28:54 -04:00 committed by GitHub
parent 47b6f545f3
commit 1fc3b48907

View file

@ -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