From 904fe964b0cbe9f87198a71b1291c414447d9089 Mon Sep 17 00:00:00 2001 From: Ivan Pozdeev Date: Mon, 7 Nov 2022 04:46:44 +0300 Subject: [PATCH] README: Prefix auto-resolution: improve phrasing --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 80d7cbf4..e80d3935 100644 --- a/README.md +++ b/README.md @@ -404,21 +404,21 @@ please visit the wiki page about #### Prefix auto-resolution -Pyenv automatically resolves full prefixes to the latest version in the corresponding version line. -E.g. to install the latest 3.10 release: +All Pyenv subcommands except `uninstall` automatically resolve full prefixes to the latest version in the corresponding version line. + +`pyenv install` picks the latest known version while other subcommands -- the latest installed version. + +E.g. to install and then switch to the latest 3.10 release: ```sh pyenv install 3.10 +pyenv global 3.10 ``` -The same happens whenever Pyenv selects a version to use. -Installation selects the latest version known to Pyenv -while switching -- the latest installed version. - You can run [`pyenv latest `](COMMANDS.md#pyenv-latest) to see what a specific prefix would be resolved to. -See the [`pyenv latest` documentation](COMMANDS.md#pyenv-latest) for details on the resolution process. +See the [`pyenv latest` documentation](COMMANDS.md#pyenv-latest) for details. #### Python versions with extended support