Skip to content

Instantly share code, notes, and snippets.

@cookie-ag
Created September 14, 2024 12:48
Show Gist options
  • Save cookie-ag/4a33e28b285bd61d69929ee0165c35bc to your computer and use it in GitHub Desktop.
Save cookie-ag/4a33e28b285bd61d69929ee0165c35bc to your computer and use it in GitHub Desktop.
Pyenv for Mac
brew install pyenv

pyenv install --list

pyenv install 3.12.6

pyenv versions

pyenv global 3.12.6
  • Open ~/.zprofile or ~/.bash_profile or ~/.zshrc, add the following
eval "$(pyenv init --path)"
  • Relaunch
source ~/.zprofile
source ~/.bash_profile
source ~/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment