From 1fc3b4890706b3c9820144ea495fdf443a08c6d3 Mon Sep 17 00:00:00 2001 From: "Francis T. O'Donovan" Date: Thu, 15 Sep 2016 09:28:54 -0400 Subject: [PATCH] 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. --- COMMANDS.md | 35 +++++++++++++---------------------- 1 file changed, 13 insertions(+), 22 deletions(-) diff --git a/COMMANDS.md b/COMMANDS.md index a4520da8..fb396d7f 100644 --- a/COMMANDS.md +++ b/COMMANDS.md @@ -185,7 +185,7 @@ or, if you prefer 3.3.3 over 2.7.6, ## `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] pyenv install [-f] [-kvp] @@ -203,6 +203,18 @@ Install a Python version (using `python-build`). -p/--patch Apply a patch from stdin before building -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` @@ -264,24 +276,3 @@ Lists all Python versions with the given command installed. 2.6.8 2.7.6 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 - -