Skip to content

Instantly share code, notes, and snippets.

@opencoca
Created January 13, 2021 20:50
Show Gist options
  • Select an option

  • Save opencoca/8f999945472ff539b39c7c433f96c006 to your computer and use it in GitHub Desktop.

Select an option

Save opencoca/8f999945472ff539b39c7c433f96c006 to your computer and use it in GitHub Desktop.
# install pyenv
git clone https://github.com/pyenv/pyenv.git ~/.pyenv
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment