mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-02 18:30:02 -05:00
Fix indentation in installation instructions
This commit is contained in:
parent
42aa760e2e
commit
e4f61e67e2
1 changed files with 24 additions and 33 deletions
31
README.md
31
README.md
|
@ -122,36 +122,27 @@ Version names to rbenv are simply the names of the directories in
|
||||||
|
|
||||||
### Using Package Managers
|
### Using Package Managers
|
||||||
|
|
||||||
1. Install rbenv.
|
1. Install rbenv using one of the following approaches.
|
||||||
- **macOS**
|
|
||||||
If you're on macOS, we recommend installing rbenv with
|
#### Homebrew
|
||||||
[Homebrew](https://brew.sh).
|
|
||||||
|
On macOS or Linux, we recommend installing rbenv with [Homebrew](https://brew.sh).
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
brew install rbenv
|
brew install rbenv ruby-build
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that this also installs `ruby-build`, so you'll be ready to
|
#### Debian, Ubuntu, and their derivatives
|
||||||
install other Ruby versions out of the box.
|
|
||||||
|
|
||||||
- **Upgrading with Homebrew**
|
|
||||||
|
|
||||||
To upgrade to the latest rbenv and update ruby-build with newly released
|
|
||||||
Ruby versions, upgrade the Homebrew packages:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
brew upgrade rbenv ruby-build
|
|
||||||
```
|
|
||||||
- **Debian, Ubuntu and their derivatives**
|
|
||||||
|
|
||||||
Note that the version of rbenv that is packaged and maintained in the
|
Note that the version of rbenv that is packaged and maintained in the
|
||||||
Debian and Ubuntu repositories is out of date. To install the latest
|
Debian and Ubuntu repositories is _out of date_. To install the latest
|
||||||
version, it is recommended to [install rbenv using git](#basic-github-checkout).
|
version, it is recommended to [install rbenv using git](#basic-github-checkout).
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sudo apt install rbenv
|
sudo apt install rbenv
|
||||||
```
|
```
|
||||||
- **Arch Linux and its derivatives**
|
|
||||||
|
#### Arch Linux and its derivatives
|
||||||
|
|
||||||
Archlinux has an [AUR Package](https://aur.archlinux.org/packages/rbenv/) for
|
Archlinux has an [AUR Package](https://aur.archlinux.org/packages/rbenv/) for
|
||||||
rbenv and you can install it from the AUR using the instructions from this
|
rbenv and you can install it from the AUR using the instructions from this
|
||||||
|
@ -187,7 +178,7 @@ If you're on macOS, we recommend installing rbenv with
|
||||||
```
|
```
|
||||||
|
|
||||||
5. That's it! Installing rbenv includes ruby-build, so now you're ready to
|
5. That's it! Installing rbenv includes ruby-build, so now you're ready to
|
||||||
[install some other Ruby versions](#installing-ruby-versions) using
|
[install some Ruby versions](#installing-ruby-versions) using
|
||||||
`rbenv install`.
|
`rbenv install`.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue