Skip to content

Instantly share code, notes, and snippets.

@dasgoll
Last active July 30, 2019 04:29
Show Gist options
  • Save dasgoll/944276915107b78456b6 to your computer and use it in GitHub Desktop.
Save dasgoll/944276915107b78456b6 to your computer and use it in GitHub Desktop.
git clone git://github.com/yyuu/pyenv.git .pyenv
echo 'export PYENV_ROOT=$HOME/.pyenv' >> ~/.bashrc
echo 'export PATH=$PYENV_ROOT/bin:$PATH' >> ~/.bashrc
echo 'eval "$(pyenv init -)"' >> ~/.bashrc
. ~/.bashrc
pyenv install -v 3.7.0
pyenv global 3.7.0
pyenv rehash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment