From d231de5923b289e9d1b2cc22b89f46c7dfc9527e Mon Sep 17 00:00:00 2001 From: Ivan Pozdeev Date: Sun, 23 Jul 2023 22:10:32 +0300 Subject: [PATCH] Structurize UNIX/MacOS into a separate subsection --- README.md | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 7547cd13..cf7e2092 100644 --- a/README.md +++ b/README.md @@ -200,7 +200,9 @@ As far as Pyenv is concerned, version names are simply directories under ## Installation ### Getting Pyenv -#### Homebrew in macOS + +#### UNIX/MacOS +##### Homebrew in macOS 1. Consider installing with [Homebrew](https://brew.sh): ```sh @@ -234,19 +236,7 @@ As far as Pyenv is concerned, version names are simply directories under ~~~ -#### Windows - -Pyenv does not officially support Windows and does not work in Windows outside -the Windows Subsystem for Linux. -Moreover, even there, the Pythons it installs are not native Windows versions -but rather Linux versions running in a virtual machine -- -so you won't get Windows-specific functionality. - -If you're in Windows, we recommend using @kirankotari's [`pyenv-win`](https://github.com/pyenv-win/pyenv-win) fork -- -which does install native Windows Python versions. - - -#### Automatic installer (for UNIX systems) +##### Automatic installer `curl https://pyenv.run | bash` @@ -254,7 +244,7 @@ For more details visit our other project: https://github.com/pyenv/pyenv-installer -#### Basic GitHub Checkout +##### Basic GitHub Checkout This will get you going with the latest version of Pyenv and make it easy to fork and contribute any changes back upstream. @@ -270,6 +260,18 @@ easy to fork and contribute any changes back upstream. cd ~/.pyenv && src/configure && make -C src ``` +#### Windows + +Pyenv does not officially support Windows and does not work in Windows outside +the Windows Subsystem for Linux. +Moreover, even there, the Pythons it installs are not native Windows versions +but rather Linux versions running in a virtual machine -- +so you won't get Windows-specific functionality. + +If you're in Windows, we recommend using @kirankotari's [`pyenv-win`](https://github.com/pyenv-win/pyenv-win) fork -- +which does install native Windows Python versions. + + ### Set up your shell environment for Pyenv **Upgrade note:** The startup logic and instructions have been updated for simplicity in 2.3.0.