From 3b1bc86031a053b4d1a0c83bd552c6111765c69e Mon Sep 17 00:00:00 2001 From: sandipanpanda <87253083+sandipanpanda@users.noreply.github.com> Date: Sat, 2 Oct 2021 22:28:56 +0530 Subject: [PATCH] Add documentation for root command (#2088) * Add documentation for root command --- COMMANDS.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/COMMANDS.md b/COMMANDS.md index d138e6d2..34db5a6e 100644 --- a/COMMANDS.md +++ b/COMMANDS.md @@ -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