Last updated 11 months ago
curl https://pyenv.run | bash
Once installed, add this to your .bashrc file
.bashrc
export PYENV_ROOT="$HOME/.pyenv" [[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init -)"