Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to upgrade the version of pyenv on Ubuntu

I wanted to install Python 3.10, but that version is not available in the pyenv version list. It was checked by pyenv install --list.

People suggested to upgrade pyenv, but I do not see help related to updating pyenv.

like image 371
Aniket Singh Avatar asked Sep 10 '25 17:09

Aniket Singh


1 Answers

pyenv isn't really 'installed' in a traditional sense; it's just a Git checkout. All you have to do to update is

cd ~/.pyenv
git pull

That also updates the list of available Python versions.

like image 153
Sören Avatar answered Sep 12 '25 06:09

Sören