Download & Install Ruby
If you are on Windows you may want to go to https://rubyinstaller.org/downloads/ and download Ruby: Please download the latest version and install it like any other computer program. Yay!, Ruby installed on your computer!
Now to start writing your Ruby programs you will need to open a terminal.To do that open the windows menu & type cmd.exe.Then press enter.
At this point you should be able to type ruby -v inside this window & get the current version of Ruby printed in there.
Ruby Setup For Linux & Mac Users
If you are on Linux or MacOS then you probably already have Ruby installed.
You can confirm this by opening a terminal (search for “terminal” in your menu), then typing ruby -v.
This should print your Ruby version.