Ruby 4.0 with MSYS2 4.0.7-1

A Ruby language execution environment with a MSYS2 installation.

Download for Windows

About Ruby 4.0 with MSYS2

The RubyInstaller project provides a self-contained Windows-based installer that includes a Ruby-language execution environment and a baseline set of required RubyGems and extensions, integrated with a MSYS2 installation.

What's new in 4.0.7-1

Changed

  • Update to ruby-4.0.7, see release notes.
  • Update the SSL CA certificate list.

Full release notes »

Technical details

PublisherRubyInstaller Team
Version4.0.7-1
Release date2026-09-15
LicenseBSD-3-Clause
Installer typeinno
Architecturex64, arm64
Package IDRubyInstallerTeam.RubyWithDevKit.4.0
Install scopeCurrent user

Install Ruby 4.0 with MSYS2 from the command line

Install with Windows Package Manager
winget install --id=RubyInstallerTeam.RubyWithDevKit.4.0 -e
Update to the latest version
winget upgrade --id=RubyInstallerTeam.RubyWithDevKit.4.0 -e
Uninstall
winget uninstall --id=RubyInstallerTeam.RubyWithDevKit.4.0 -e
Silent install with the offline installer
"rubyinstaller-devkit-4.0.7-1-x64.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /CURRENTUSER

Ruby 4.0 with MSYS2 adds these commands to the command line: ruby, rubyw.

languageprogrammingprogramming-languagerubyruby-with-devkit

Ruby 4.0 with MSYS2 version history

4.0.6-1 Jul 14, 2026

Changed

  • Update to ruby-4.0.6, see release notes.
  • Update the SSL CA certificate list.
4.0.5-1 May 20, 2026

Changed

  • Update to ruby-4.0.5, see release notes.
4.0.4-1 May 16, 2026

Changed

  • Update to ruby-4.0.4, see release notes.

Other versions

  • 4.0.3-1
  • 4.0.2-1
  • 4.0.1-1

Frequently asked questions

Is Ruby 4.0 with MSYS2 free?

Yes. Ruby 4.0 with MSYS2 is free and open-source software released under the BSD-3-Clause license.

What is the latest version of Ruby 4.0 with MSYS2?

The latest version is 4.0.7-1, released on Sep 15, 2026.

Is it safe to download Ruby 4.0 with MSYS2?

The download button links to the official installer published on github.com, the same file Windows Package Manager installs. You can verify the downloaded file by comparing its SHA-256 checksum with 4eb2fb0c8e7ece557c82ce7cb0411bf53df439831b2a942227606173e32dadfc.

Which Windows versions does Ruby 4.0 with MSYS2 support?

Ruby 4.0 with MSYS2 runs on Windows and is available for 64-bit (x64), ARM64 systems.

How do I install Ruby 4.0 with MSYS2 silently?

Run the offline installer with "rubyinstaller-devkit-4.0.7-1-x64.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /CURRENTUSER, or install it with Windows Package Manager: winget install --id=RubyInstallerTeam.RubyWithDevKit.4.0 -e --silent.

How do I uninstall Ruby 4.0 with MSYS2?

Open Settings › Apps › Installed apps, find Ruby 4.0 with MSYS2 and select Uninstall. From the command line, run winget uninstall --id=RubyInstallerTeam.RubyWithDevKit.4.0 -e.