Skip to main content

Install Ruby on Windows 10 OS using Ruby Installer

There are basically 2 ways to install and run Ruby on Windows. The simple and straightforward method is to use the Ruby installer. The more robust method is to install the Linux subsystem on Windows 10, then use Linux commands to install Ruby.

Step 1: Click on this link

Step 2: Select the latest stable x64 or x86 version depending upon your system compatibility.  If the system is used for developing software use a version With Devkit (Developer’s Kit). The Devkit versions install the MSYS2 system, which will be required if you need to install RubyGems that require compilation. If you want to work on a Ruby on Rails app, you’ll definitely need to compile gems, so you need the Devkit. If you only need to run Ruby applications, use the version Without Devkit. 

select ruby version to install on windows

Step 3: Accept the licence agreement after opening the installer file

accept the ruby licence agreement for windows installation

Step 4: Select both checkboxes and click on install

install ruby on windows 10

Step 5: Make sure MSYS2 is selected and click Next

install ruby with msys2

Step 6: Make sure you have selected run ridk install and click next

ruby installations options

Step 7: Press Enter Here

ruby installations windows 10

Step 8: Press Enter Again

install ruby windows

 Step 9: Open command prompt and test using following commands 

$ ruby -v
$ gem list
$ irb

Submitted by tgoswami on June 11, 2021

Tarun has 11+ years of experience in Quality Assurance in different domains like Banking, E-commerce, Health and Education.


At ProgramsBuzz, you can learn, share and grow with millions of techie around the world from different domain like Data Science, Software Development, QA and Digital Marketing. You can ask doubt and get the answer for your queries from our experts.