@@ -122,40 +122,31 @@ Version names to rbenv are simply the names of the directories in
122
122
123
123
###Using Package Managers
124
124
125
- 1 . Install rbenv.
126
- - ** macOS**
127
- If you're on macOS, we recommend installing rbenv with
128
- [ Homebrew] ( https://brew.sh ) .
125
+ 1 . Install rbenv using one of the following approaches.
129
126
130
- ```sh
131
- brew install rbenv
132
- ```
133
-
134
- Note that this also installs` ruby-build ` , so you'll be ready to
135
- install other Ruby versions out of the box.
127
+ ####Homebrew
136
128
137
- - ** Upgrading with Homebrew**
138
-
139
- To upgrade to the latest rbenv and update ruby-build with newly released
140
- Ruby versions, upgrade the Homebrew packages:
141
-
142
- ``` sh
143
- brew upgrade rbenv ruby-build
144
- ```
145
- -** Debian, Ubuntu and their derivatives**
146
-
147
- Note that the version of rbenv that is packaged and maintainedin the
148
- Debian and Ubuntu repositories is out of date. To install the latest
149
- version, it is recommended to [install rbenv using git](# basic-github-checkout).
150
-
151
- ` ` ` sh
152
- sudo apt install rbenv
153
- ` ` `
154
- -** Arch Linux and its derivatives**
155
-
156
- Archlinux has an [AUR Package](https://aur.archlinux.org/packages/rbenv/)for
157
- rbenv and you can install it from the AUR using the instructions from this
158
- [wiki page](https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_and_upgrading_packages).
129
+ On macOS or Linux, we recommend installing rbenv with[ Homebrew] ( https://brew.sh ) .
130
+
131
+ ``` sh
132
+ brew install rbenv ruby-build
133
+ ```
134
+
135
+ ####Debian, Ubuntu, and their derivatives
136
+
137
+ Note that the version of rbenv that is packaged and maintained in the
138
+ Debian and Ubuntu repositories is_ out of date_ . To install the latest
139
+ version, it is recommended to[ install rbenv using git] ( #basic-github-checkout ) .
140
+
141
+ ``` sh
142
+ sudo apt install rbenv
143
+ ```
144
+
145
+ ####Arch Linux and its derivatives
146
+
147
+ Archlinux has an[ AUR Package] ( https://aur.archlinux.org/packages/rbenv/ ) for
148
+ rbenv and you can install it from the AUR using the instructions from this
149
+ [ wiki page] ( https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_and_upgrading_packages ) .
159
150
160
151
2 . Set up rbenv in your shell.
161
152
@@ -187,7 +178,7 @@ If you're on macOS, we recommend installing rbenv with
187
178
```
188
179
189
180
5. That' s it! Installing rbenv includes ruby-build, so now you' re ready to
190
- [install someother Ruby versions](#installing-ruby-versions) using
181
+ [install some Ruby versions](#installing-ruby-versions) using
191
182
`rbenv install`.
192
183
193
184