Created
January 29, 2023 21:09
-
-
Save zoultrex/c624e8140223840b7b0b680886b52006 to your computer and use it in GitHub Desktop.
install pyenv on ubuntu 18.04 that only worked for GCP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#install pyenv on ubuntu 18.04 | |
sudo apt update | |
curl https://pyenv.run | bash | |
export PATH="$HOME/.pyenv/bin:$PATH" && eval "$(pyenv init --path)" && echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.bashrc | |
exec $SHELL | |
pyenv --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment