Download Ruby

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 Ruby’s License.

Ways of Installing Ruby

We have several tools on each major platform to install Ruby:

  • On Linux/UNIX, you can use the package management system of your distribution or third-party tools (rbenv and RVM).
  • On macOS machines, you can use third-party tools (rbenv and RVM).
  • On Windows machines, you can use RubyInstaller.

See the Installation page for details on using package management systems or third-party tools.

Of course, you can also install Ruby from source on all major platforms.

Compiling Ruby — Source Code

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.

See the Installation 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.

  • Stable releases:
    • Ruby 3.3.6
      sha256: 8dc48fffaf270f86f1019053f28e51e4da4cce32a36760a0603a9aee67d7fd8d
    • Ruby 3.2.6
      sha256: d9cb65ecdf3f18669639f2638b63379ed6fbb17d93ae4e726d4eb2bf68a48370
  • Preview releases:
    • Ruby 3.4.0-rc1
      sha256: 1f3187d3366e90af6d760994f8bfe1fe8999a8ba3553ea4dcfae63e548236e2a
  • In security maintenance phase (will EOL soon!):
    • Ruby 3.1.6
      sha256: 0d0dafb859e76763432571a3109d1537d976266be3083445651dc68deed25c22
  • Not maintained anymore (EOL):
    • Ruby 3.0.7
      sha256: 2a3411977f2850431136b0fab8ad53af09fb74df2ee2f4fb7f11b378fe034388
  • Snapshots:

For more information about specific releases, particularly older releases or previews, see the Releases page. Information about the current maintenance status of the various Ruby branches can be found on the Branches page.

For information about the Ruby Subversion and Git repositories, see our Ruby Core page.

The Ruby source is available from a worldwide set of Mirror Sites. Please try to use a mirror that is near you.