CINXE.COM
Download Ruby
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Download Ruby</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta itemprop="image" content="https://www.ruby-lang.org/images/header-ruby-logo@2x.png"> <meta name="description" content=""> <link rel="stylesheet" type="text/css" href="/stylesheets/normalize.css"> <link rel="stylesheet" type="text/css" href="/stylesheets/main.css"> <link rel="stylesheet" type="text/css" href="/stylesheets/pygments.css"> <link rel="stylesheet" type="text/css" href="/stylesheets/mobile.css"> <link rel="stylesheet" type="text/css" href="/stylesheets/print.css"> <link href='https://fonts.googleapis.com/css?family=Noto+Sans:400,700,400italic,700italic&subset=latin,cyrillic,greek,vietnamese' rel='stylesheet' type='text/css'> <link rel="canonical" href="https://www.ruby-lang.org/en/downloads/"> <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"> <link href="/en/feeds/news.rss" rel="alternate" title="Recent News (RSS)" type="application/rss+xml"> <script type="text/javascript" src="/javascripts/jquery.min.js"></script> <script type="text/javascript" src="/javascripts/page.js"></script> </head> <body> <div id="header"> <div id="header_content" class="container"> <a href="/en/"> <h1>Ruby</h1> <h2>A Programmer's Best Friend</h2> </a> <div class="site-links"> <a href="/en/" class="home">Home</a> <a href="/en/downloads/">Downloads</a> <a href="/en/documentation/">Documentation</a> <a href="/en/libraries/">Libraries</a> <a href="/en/community/">Community</a> <a href="/en/news/">News</a> <a href="/en/security/">Security</a> <a href="/en/about/">About Ruby</a> <a href="#" class="menu selected">Menu</a> </div> <div id="search-box"> <form id="search-form" action="https://www.google.com/cse"> <table class="fieldset"> <tr> <td> <input class="field" type="text" name="q" size="31" style="background: white url(//www.google.com/coop/intl/en/images/google_custom_search_watermark.gif) left no-repeat" onfocus="this.style.background='white'" onblur="if (/^\s*$/.test(this.value)) this.style.background='white url(//www.google.com/coop/intl/en/images/google_custom_search_watermark.gif) left no-repeat'"/> </td> <td> <input type="hidden" name="cx" value="013598269713424429640:g5orptiw95w" /> <input type="hidden" name="ie" value="UTF-8" /> <input class="button" type="submit" name="sa" value="Search" /> </td> </tr> </table> </form> </div> </div> </div> <div id="page"> <div id="main-wrapper" class="container"> <div id="main"> <div id="content-wrapper"> <h1>Download Ruby</h1> <div id="content"> <p class="summary">Here you can get the latest Ruby distributions in your favorite flavor. The current stable version is 3.3.6. Please be sure to read <a href="/en/about/license.txt">Ruby’s License</a>.</p> <h3>Ways of Installing Ruby</h3> <p>We have several tools on each major platform to install Ruby:</p> <ul> <li>On Linux/UNIX, you can use the package management system of your distribution or third-party tools (<a href="https://github.com/rbenv/rbenv">rbenv</a> and <a href="http://rvm.io/">RVM</a>).</li> <li>On macOS machines, you can use third-party tools (<a href="https://github.com/rbenv/rbenv">rbenv</a> and <a href="http://rvm.io/">RVM</a>).</li> <li>On Windows machines, you can use <a href="https://rubyinstaller.org/">RubyInstaller</a>.</li> </ul> <p>See the <a href="/en/documentation/installation/">Installation</a> page for details on using package management systems or third-party tools.</p> <p>Of course, you can also install Ruby from source on all major platforms.</p> <h3>Compiling Ruby — Source Code</h3> <p>Installing from the source code is a great solution for when you are comfortable enough with your platform and perhaps need specific settings for your environment. It’s also a good solution in the event that there are no other premade packages for your platform.</p> <p>See the <a href="/en/documentation/installation/">Installation</a> page for details on building Ruby from source. If you have an issue compiling Ruby, consider using one of the third party tools mentioned above. They may help you.</p> <ul> <li><strong>Stable releases:</strong> <ul> <li><a href="https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.6.tar.gz">Ruby 3.3.6</a><br /> sha256: 8dc48fffaf270f86f1019053f28e51e4da4cce32a36760a0603a9aee67d7fd8d</li> <li><a href="https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.6.tar.gz">Ruby 3.2.6</a><br /> sha256: d9cb65ecdf3f18669639f2638b63379ed6fbb17d93ae4e726d4eb2bf68a48370</li> </ul> </li> <li><strong>Preview releases:</strong> <ul> <li><a href="https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.0-preview2.tar.gz">Ruby 3.4.0-preview2</a><br /> sha256: 443cd7ec54ade4786bc974ce9f5d49f172a60f8edc84b597b7fe2bd2a94b8371</li> </ul> </li> <li><strong>In security maintenance phase (will EOL soon!):</strong> <ul> <li><a href="https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.6.tar.gz">Ruby 3.1.6</a><br /> sha256: 0d0dafb859e76763432571a3109d1537d976266be3083445651dc68deed25c22</li> </ul> </li> <li><strong>Not maintained anymore (EOL):</strong> <ul> <li><a href="https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.7.tar.gz">Ruby 3.0.7</a><br /> sha256: 2a3411977f2850431136b0fab8ad53af09fb74df2ee2f4fb7f11b378fe034388</li> </ul> </li> <li><strong>Snapshots:</strong> <ul> <li><a href="https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-ruby_3_3.tar.gz">Stable Snapshot of ruby_3_3 branch</a>: This is a tarball of the latest snapshot of the current <code class="language-plaintext highlighter-rouge">ruby_3_3</code> branch.</li> <li><a href="https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-ruby_3_2.tar.gz">Stable Snapshot of ruby_3_2 branch</a>: This is a tarball of the latest snapshot of the current <code class="language-plaintext highlighter-rouge">ruby_3_2</code> branch.</li> <li><a href="https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-ruby_3_1.tar.gz">Stable Snapshot of ruby_3_1 branch</a>: This is a tarball of the latest snapshot of the current <code class="language-plaintext highlighter-rouge">ruby_3_1</code> branch.</li> <li><a href="https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-master.tar.gz">Nightly Snapshot</a>: This is a tarball of whatever is in Git, made nightly. This may contain bugs or other issues, use at your own risk!</li> </ul> </li> </ul> <p>For more information about specific releases, particularly older releases or previews, see the <a href="/en/downloads/releases/">Releases page</a>. Information about the current maintenance status of the various Ruby branches can be found on the <a href="/en/downloads/branches/">Branches page</a>.</p> <p>For information about the Ruby Subversion and Git repositories, see our <a href="/en/community/ruby-core/">Ruby Core</a> page.</p> <p>The Ruby source is available from a worldwide set of <a href="/en/downloads/mirrors/">Mirror Sites</a>. Please try to use a mirror that is near you.</p> </div> </div> <hr class="hidden-modern" /> <div id="sidebar-wrapper"> <div id="sidebar"> <div class="navigation"> <h3><strong>Get Started</strong>, it's easy!</h3> <ul class="menu"> <li><a href="https://try.ruby-lang.org/">Try Ruby! (in your browser)</a></li> <li><a href="/en/documentation/quickstart/">Ruby in Twenty Minutes</a></li> <li><a href="/en/documentation/ruby-from-other-languages/">Ruby from Other Languages</a></li> </ul> </div> <div class="navigation"> <h3><strong>Explore</strong> a new world…</h3> <ul class="menu"> <li><a href="/en/documentation/">Documentation</a></li> <li><a href="https://rubybib.org/">Academic Research</a></li> <li><a href="/en/libraries/">Libraries</a></li> <li><a href="/en/documentation/success-stories/">Success Stories</a></li> </ul> </div> <div class="navigation"> <h3><strong>Participate</strong> in a friendly and growing community.</h3> <ul> <li><a href="/en/community/mailing-lists/">Mailing Lists</a>: Talk about Ruby with programmers from all around the world.</li> <li><a href="/en/community/user-groups/">User Groups</a>: Get in contact with Rubyists in your area.</li> <li><a href="/en/community/weblogs/">Blogs and Newsletters</a>: Read about what’s happening right now in the Ruby community.</li> <li><a href="/en/community/ruby-core/">Ruby Core</a>: Help polish the rough edges of the latest Ruby.</li> <li><a href="https://bugs.ruby-lang.org/">Issue Tracking</a>: Report or help solve issues in Ruby.</li> </ul> </div> <h3>Syndicate</h3> <p><a href="/en/feeds/news.rss">Recent News (RSS)</a></p> </div> </div> <hr class="hidden-modern" /> </div> </div> </div> <div class="container"> <div id="footer"> <div class="site-links"> <a href="/en/" class="home">Home</a> <a href="/en/downloads/">Downloads</a> <a href="/en/documentation/">Documentation</a> <a href="/en/libraries/">Libraries</a> <a href="/en/community/">Community</a> <a href="/en/news/">News</a> <a href="/en/security/">Security</a> <a href="/en/about/">About Ruby</a> </div> <p> This site in other languages: <a href="/bg/">Български</a>, <a href="/de/">Deutsch</a>, <a href="/en/">English</a>, <a href="/es/">Español</a>, <a href="/fr/">Français</a>, <a href="/id/">Bahasa Indonesia</a>, <a href="/it/">Italiano</a>, <a href="/ja/">日本語</a>, <a href="/ko/">한국어</a>, <a href="/pl/">polski</a>, <a href="/pt/">Português</a>, <a href="/ru/">Русский</a>, <a href="/tr/">Türkçe</a>, <a href="/vi/">Tiếng Việt</a>, <a href="/zh_cn/">简体中文</a>, <a href="/zh_tw/">繁體中文</a>. </p> <p><a href="/en/about/website/">This website</a> is proudly maintained by members of the Ruby community.</p> </div> </div> </body> </html>