Posted on: Written by: K-Sato
⚠️ This article was posted over 2 years ago. The information might be outdated. ⚠️

Table of Contents

Frequently used commands

# lists all of the known ruby packages
$ rvm list known

# install the latest version of ruby-2.1.x
$ rvm install 2.1

# use ruby-2.1.x
$ rvm use 2.1

# which version of ruby are you currently using
$ ruby -v

# what location is the ruby binary being sourced from
$ which ruby

# set the specified version to be the default version of ruby
$ rvm use 2.1 --default

References

About the author

I am a web-developer based somewhere on earth. I primarily code in TypeScript, Go and Ruby at work. React, RoR and Gin are my go-to Frameworks.