Last updated 1 year 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 -)"