Shell/Bash: rvm install new ruby version Example

By

Shell/Bash Example: This is the "rvm install new ruby version" Example. compiled from many sources on the internet by SimpleTutorials.org

rvm install new ruby version

$ ruby -v 						# Check ruby version 
$ rvm install ruby-X.X.X        # Install specific ruby version
$ rvm list						# List ruby versions
$ rvm use ruby-X.X.X			# Choose a version to use
$ rvm use ruby-X.X.X --default  # Set a version as default

Installing ruby version manager (rvm)

$ \curl https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer | bash -s stable



* Summary: This "rvm install new ruby version" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others