Skip to content
Advertisement

How to upgrade version of pyenv on Ubuntu

I wanted to install python 3.10 but that version is not available on pyenv version list. checked by pyenv install --list. People suggested to upgrade pyenv that but I do not see help related to updating pyenv.

Advertisement

Answer

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.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement