2018-04-07 11:55:42 +01:00
|
|
|
# rvm
|
|
|
|
|
2024-02-14 20:25:13 +00:00
|
|
|
> Easily installing, managing, and working with multiple ruby environments.
|
2019-05-23 11:56:50 +01:00
|
|
|
> More information: <https://rvm.io>.
|
2018-04-07 11:55:42 +01:00
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
- Install one or more versions of Ruby:
|
2018-04-07 11:55:42 +01:00
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
`rvm install {{version1 version2 ...}}`
|
2018-04-07 11:55:42 +01:00
|
|
|
|
|
|
|
- Display a list of installed versions:
|
|
|
|
|
|
|
|
`rvm list`
|
|
|
|
|
|
|
|
- Use a specific version of Ruby:
|
|
|
|
|
|
|
|
`rvm use {{version}}`
|
|
|
|
|
|
|
|
- Set the default Ruby version:
|
|
|
|
|
|
|
|
`rvm --default use {{version}}`
|
|
|
|
|
|
|
|
- Upgrade a version of Ruby to a new version:
|
|
|
|
|
|
|
|
`rvm upgrade {{current_version}} {{new_version}}`
|
|
|
|
|
|
|
|
- Uninstall a version of Ruby and keep its sources:
|
|
|
|
|
|
|
|
`rvm uninstall {{version}}`
|
|
|
|
|
|
|
|
- Remove a version of Ruby and its sources:
|
|
|
|
|
|
|
|
`rvm remove {{version}}`
|
2019-03-08 18:26:24 +00:00
|
|
|
|
|
|
|
- Show specific dependencies for your OS:
|
|
|
|
|
|
|
|
`rvm requirements`
|