Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to check the version of pyenv itself

The version of pyenv is listed in Version History, how can I check the version of pyenv itself with a command? I searched for it, but couldn't find it.

like image 667
Keiku Avatar asked Oct 21 '25 13:10

Keiku


1 Answers

You can use either pyenv -v or pyenv --version to get the version of pyenv itself.

% pyenv --version
pyenv 2.0.1
% pyenv -v
pyenv 2.0.1

When in doubt do pyenv -h

% pyenv -h
Usage: pyenv <command> [<args>]

Some useful pyenv commands are:
   --version   Display the version of pyenv

Version comes up as the first command.

like image 200
python_user Avatar answered Oct 23 '25 03:10

python_user



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!