Rbenv command to use Ruby

I want to write about rbenv in detail in the previous article I will take over the contents a little and write it.

Installation of brew etc.

Please install or update brew as a prerequisite to using rbenv Install here from official page image.png

The command under installation at the bottom Type in at the terminal.

If already installed Please update and upgrade with this command

brew update && brew upgrade

rbenv command

rbenv versions
#Check version of ruby

rbenv install -l
#List of ruby versions that can be installed
#The list will change with the update of brew.

rbenv install 2.6.6
#Temporarily 2.6.If you want to install 6 this

rbenv local 2.1.5
#Change the version to use(Version used in the current directory), This is important

rbenv rehash
#update

rbenv global version
#Specify the version to be used by default

Recommended Posts

Rbenv command to use Ruby
How to use rbenv
How to use Ruby return
Ruby: How to use cookies
[Ruby] How to use rbenv (version `x.x.x'is not installed)
How to install ruby through rbenv
How to use Ruby on Rails
[Ruby] How to use any? Method
How to use Ruby inject method
Introduction to Ruby 2
Error when trying to use heroku command
Ruby length, size, count How to use
[Ruby] How to use slice for beginners
Try to use docker command without sudo.
[Ruby on Rails] How to use redirect_to
[Ruby on Rails] How to use kaminari
Ruby: CSV :: How to use Table Note
[Ruby] How to use gsub method and sub method
[Ruby on Rails] How to use session method
[Ruby basics] How to use the slice method
How to use Map
How to use letter_opener_web
How to use with_option
How to use fields_for
How to use java.util.logging
How to use map
How to use collection_select
How to use Twitter4J
How to use MapStruct
How to use hidden_field_tag
How to use TreeSet
How to use identity
Introduction to javadoc command
How to use hashes
From Java to Ruby !!
Introduction to jar command
How to use JUnit 5
Introduction to java command
How to use Dozer.mapper
How to use Gradle
How to use org.immutables
How to use java.util.stream.Collector
How to use VisualVM
Introduction to javac command
How to use Map
[Ruby] How to use standard output in conditional branching
How to launch another command in a Ruby program
[Java] How to use Map
How to use Chain API
[Java] How to use Map
How to use Priority Queuing
[Rails] How to use enum
How to use java Optional
Convert to Ruby Leet string
[Rails] How to use enum
Use C program from Ruby
[Ruby] Strong parameters [require] [permit] [merge] How to use Role
Use Face API from Ruby
How to use @Builder (Lombok)
How to use java class
How to use Swift UIScrollView