Add documentation for root command (#2088)

* Add documentation for root command
This commit is contained in:
sandipanpanda 2021-10-02 22:28:56 +05:30 committed by GitHub
parent 6139b51af4
commit 3b1bc86031
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,6 +16,7 @@ The most common subcommands are:
* [`pyenv versions`](#pyenv-versions)
* [`pyenv which`](#pyenv-which)
* [`pyenv whence`](#pyenv-whence)
* [`pyenv root`](#pyenv-root)
* [`pyenv prefix`](#pyenv-prefix)
@ -280,6 +281,13 @@ Lists all Python versions with the given command installed.
2.7.6
3.3.3
## `pyenv root`
Displays the root directory where versions and shims are kept.
$ pyenv root
/home/user/.pyenv
## `pyenv prefix`
Displays the directory where a Python version is installed. If no