README: Add explicit UNIX reference into the relevant installation sections (#2744)
Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
This commit is contained in:
parent
879fa68b35
commit
8aabba9485
34
README.md
34
README.md
@ -44,10 +44,11 @@ This project was forked from [rbenv](https://github.com/rbenv/rbenv) and
|
|||||||
* [Locating Pyenv-provided Python Installations](#locating-pyenv-provided-python-installations)
|
* [Locating Pyenv-provided Python Installations](#locating-pyenv-provided-python-installations)
|
||||||
* **[Installation](#installation)**
|
* **[Installation](#installation)**
|
||||||
* [Getting Pyenv](#getting-pyenv)
|
* [Getting Pyenv](#getting-pyenv)
|
||||||
|
* [UNIX/MacOS](#unixmacos)
|
||||||
* [Homebrew in macOS](#homebrew-in-macos)
|
* [Homebrew in macOS](#homebrew-in-macos)
|
||||||
* [Windows](#windows)
|
|
||||||
* [Automatic installer](#automatic-installer)
|
* [Automatic installer](#automatic-installer)
|
||||||
* [Basic GitHub Checkout](#basic-github-checkout)
|
* [Basic GitHub Checkout](#basic-github-checkout)
|
||||||
|
* [Windows](#windows)
|
||||||
* [Set up your shell environment for Pyenv](#set-up-your-shell-environment-for-pyenv)
|
* [Set up your shell environment for Pyenv](#set-up-your-shell-environment-for-pyenv)
|
||||||
* [Restart your shell](#restart-your-shell)
|
* [Restart your shell](#restart-your-shell)
|
||||||
* [Install Python build dependencies](#install-python-build-dependencies)
|
* [Install Python build dependencies](#install-python-build-dependencies)
|
||||||
@ -200,7 +201,8 @@ As far as Pyenv is concerned, version names are simply directories under
|
|||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
### Getting Pyenv
|
### Getting Pyenv
|
||||||
#### Homebrew in macOS
|
#### UNIX/MacOS
|
||||||
|
##### Homebrew in macOS
|
||||||
|
|
||||||
1. Consider installing with [Homebrew](https://brew.sh):
|
1. Consider installing with [Homebrew](https://brew.sh):
|
||||||
```sh
|
```sh
|
||||||
@ -234,19 +236,7 @@ As far as Pyenv is concerned, version names are simply directories under
|
|||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
|
||||||
#### Windows
|
##### Automatic installer
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
`curl https://pyenv.run | bash`
|
`curl https://pyenv.run | bash`
|
||||||
|
|
||||||
@ -254,7 +244,7 @@ For more details visit our other project:
|
|||||||
https://github.com/pyenv/pyenv-installer
|
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
|
This will get you going with the latest version of Pyenv and make it
|
||||||
easy to fork and contribute any changes back upstream.
|
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
|
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
|
### Set up your shell environment for Pyenv
|
||||||
|
|
||||||
**Upgrade note:** The startup logic and instructions have been updated for simplicity in 2.3.0.
|
**Upgrade note:** The startup logic and instructions have been updated for simplicity in 2.3.0.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user