Skip to content

Instantly share code, notes, and snippets.

@ifnull
Created April 10, 2023 18:43
Show Gist options
  • Save ifnull/9cab52fdfed71d930e10b27bd631c172 to your computer and use it in GitHub Desktop.
Save ifnull/9cab52fdfed71d930e10b27bd631c172 to your computer and use it in GitHub Desktop.

Revisions

  1. ifnull created this gist Apr 10, 2023.
    7 changes: 7 additions & 0 deletions install_python.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    brew install openssl readline sqlite3 xz zlib
    brew install pyenv
    pyenv install 3.11.3
    pyenv global 3.11.3
    pyenv version
    echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.zshrc