Procházet zdrojové kódy

Improve prefix resolution documentation

pull/2507/head
Ivan Pozdeev před 3 roky
rodič
revize
e03118235a
2 změnil soubory, kde provedl 9 přidání a 1 odebrání
  1. +7
    -1
      COMMANDS.md
  2. +2
    -0
      README.md

+ 7
- 1
COMMANDS.md Zobrazit soubor

@ -229,7 +229,13 @@ 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:
You can also install the latest version of Python in a specific version line by supplying a prefix instead of a complete name:
$ pyenv install 3.10
See the [`pyenv latest` documentation](#pyenv-latest) for details on prefix resolution.
An older option is to use the `:latest` syntax. For example, to install the latest patch version for Python 3.8 you could do:
pyenv install 3.8:latest

+ 2
- 0
README.md Zobrazit soubor

@ -418,6 +418,8 @@ while switching -- the latest installed version.
You can run [`pyenv latest <prefix>`](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.
#### Python versions with extended support

Načítá se…
Zrušit
Uložit