Here you can get the latest Ruby distributions in your favorite flavor. The current stable version is 3.3.5. 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.5
sha256: 3781a3504222c2f26cb4b9eb9c1a12dbf4944d366ce24a9ff8cf99ecbce75196 - Ruby 3.2.5
sha256: ef0610b498f60fb5cfd77b51adb3c10f4ca8ed9a17cb87c61e5bea314ac34a16
- Ruby 3.3.5
- Preview releases:
- Ruby 3.4.0-preview1
sha256: 1a3c322e90cb22e5fba0b5d257bb2be9988affa3867eba7642ed981fdde895bb
- Ruby 3.4.0-preview1
- In security maintenance phase (will EOL soon!):
- Ruby 3.1.6
sha256: 0d0dafb859e76763432571a3109d1537d976266be3083445651dc68deed25c22
- Ruby 3.1.6
- Not maintained anymore (EOL):
- Ruby 3.0.7
sha256: 2a3411977f2850431136b0fab8ad53af09fb74df2ee2f4fb7f11b378fe034388
- Ruby 3.0.7
- Snapshots:
- Stable Snapshot of ruby_3_3 branch:
This is a tarball of the latest snapshot of the current
ruby_3_3
branch. - Stable Snapshot of ruby_3_2 branch:
This is a tarball of the latest snapshot of the current
ruby_3_2
branch. - Stable Snapshot of ruby_3_1 branch:
This is a tarball of the latest snapshot of the current
ruby_3_1
branch. - Nightly Snapshot: This is a tarball of whatever is in Git, made nightly. This may contain bugs or other issues, use at your own risk!
- Stable Snapshot of ruby_3_3 branch:
This is a tarball of the latest snapshot of the current
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.