Install
One command on most systems.
Macaulay2 1.26.06, released 10 June 2026. Free and open source under the GNU General Public License.
Installs the current release and every dependency. Requires
Homebrew.
Upgrade later with brew upgrade M2.
Debian ships Macaulay2 in its own archive, and the project publishes a newer
repository for stable at
macaulay2.com/Repositories/Debian.
Fedora: sudo dnf install Macaulay2.
Arch (AUR), NixOS and Spack builds exist too — see the
full per-distro guide.
Run in an administrator PowerShell, reboot, open the Ubuntu app, then follow the Linux instructions — the Linux release runs unmodified. There is no native Windows build (details below). The project keeps a step-by-step WSL guide.
The repository's M2/BUILD/docker
directory holds maintained images for Ubuntu, Debian, Fedora and more. There is no
published pull-and-run image — the Makefile builds one locally in a few minutes.
Check it worked
Prints 1.26.06.
Then type M2 to open a session.