mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 09:42:07 +02:00
rvm: add page (#2058)
This commit is contained in:
parent
ea368f7726
commit
b24e0fb61d
1 changed files with 31 additions and 0 deletions
31
pages/common/rvm.md
Normal file
31
pages/common/rvm.md
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# rvm
|
||||||
|
|
||||||
|
> A tool for easily installing, managing, and working with multiple ruby environments.
|
||||||
|
|
||||||
|
- Install one or more space-separated versions of Ruby:
|
||||||
|
|
||||||
|
`rvm install {{version(s)}}`
|
||||||
|
|
||||||
|
- 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}}`
|
Loading…
Add table
Reference in a new issue