Skip to content

Commit

Permalink
Tweak basic usage instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Nov 3, 2023
1 parent e0b71e7 commit 224e942
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,12 @@ PREFIX=/usr/local ./ruby-build-*/install.sh
### Basic Usage

```sh
# As an rbenv plugin
$ rbenv install --list # lists all available versions of Ruby
$ rbenv install 2.2.0 # installs Ruby 2.2.0 to ~/.rbenv/versions

# As a standalone program
$ ruby-build --definitions # lists all available versions of Ruby
$ ruby-build 2.2.0 ~/local/ruby-2.2.0 # installs Ruby 2.2.0 to ~/local/ruby-2.2.0
$ ruby-build --list # lists available versions of Ruby
$ ruby-build 3.2.2 /opt/rubies/ruby-3.2.2 # installs Ruby 3.2.2

# As an rbenv plugin
$ rbenv install 3.2.2 # installs Ruby 3.2.2 to ~/.rbenv/versions/3.2.2
```

> **Warning**
Expand Down

0 comments on commit 224e942

Please sign in to comment.