From cdccbd0ba335ed0c5732f0cb0cc16dba7e5531cc Mon Sep 17 00:00:00 2001 From: Hay Kranen Date: Wed, 4 May 2022 02:20:16 +0200 Subject: [PATCH] Add `:latest` syntax to documentation for the `install` command (#2351) --- COMMANDS.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/COMMANDS.md b/COMMANDS.md index 24a8d396..04d0f577 100644 --- a/COMMANDS.md +++ b/COMMANDS.md @@ -228,6 +228,14 @@ Then install the desired versions: 2.6.8 * 2.7.6 (set by /home/yyuu/.pyenv/version) +To install the latest version of Python without giving a specific version use the `:latest` syntax. For example, to install the latest patch version for Python 3.8 you could do: + + pyenv install 3.8:latest + +To install the latest major release for Python 3 try: + + pyenv install 3:latest + ## `pyenv uninstall` Uninstall a specific Python version.