FreeBSD

Download the most recent *.tbz file found here, and use the "pkg_add" utility, as root, to install it. After installation, the executable will be found at /usr/local/bin/M2.