# Install pyenv curl https://pyenv.run | bash # Update pyenv pyenv update
# view which python versions exist in local pyenv versions # list available versions for installation pyenv install -l # install specified version pyenv install 3.11.6 # set python version using pyenv pyenv global 3.11.6 # check python version python --version