Add documentation for root command (#2088)
* Add documentation for root command
This commit is contained in:
parent
6139b51af4
commit
3b1bc86031
@ -16,6 +16,7 @@ The most common subcommands are:
|
|||||||
* [`pyenv versions`](#pyenv-versions)
|
* [`pyenv versions`](#pyenv-versions)
|
||||||
* [`pyenv which`](#pyenv-which)
|
* [`pyenv which`](#pyenv-which)
|
||||||
* [`pyenv whence`](#pyenv-whence)
|
* [`pyenv whence`](#pyenv-whence)
|
||||||
|
* [`pyenv root`](#pyenv-root)
|
||||||
* [`pyenv prefix`](#pyenv-prefix)
|
* [`pyenv prefix`](#pyenv-prefix)
|
||||||
|
|
||||||
|
|
||||||
@ -280,6 +281,13 @@ Lists all Python versions with the given command installed.
|
|||||||
2.7.6
|
2.7.6
|
||||||
3.3.3
|
3.3.3
|
||||||
|
|
||||||
|
## `pyenv root`
|
||||||
|
|
||||||
|
Displays the root directory where versions and shims are kept.
|
||||||
|
|
||||||
|
$ pyenv root
|
||||||
|
/home/user/.pyenv
|
||||||
|
|
||||||
## `pyenv prefix`
|
## `pyenv prefix`
|
||||||
|
|
||||||
Displays the directory where a Python version is installed. If no
|
Displays the directory where a Python version is installed. If no
|
||||||
|
Loading…
x
Reference in New Issue
Block a user