(Other languages: Français 中文 )

Source packages

After getting the source, continue to UnixInstall or WindowsInstall for help with installing.

Binary packages

Windows

/!\ Like TortoiseSVN, we recommend to turn off the indexing service on the working copies and repositories, and exclude them from virus scans.

Mac OS X

Linux (.deb)

Mercurial (from 1.0 onwards) is packaged for Debian-related distributions as two packages, mercurial and mercurial-common - you only need to care about this if you are downloading .deb files for manual installation - otherwise, APT dependency handling will take care of this for you when you install mercurial.

Linux (.rpm)

An rpm package can be built from a Mercurial source repository with contrib/buildrpm. It has currently mostly been tested on Fedora.

Linux (others)

Solaris

AIX

BSD

Using easy_install

Mercurial can also be installed from pypi with easy_install. It will however mostly just download and make a partial installation from source as described above. The installation will not be complete, and there have been reports that it doesn't work on OS X.

You will need Python and the C compiler used to build it and easy_install. easy_install might be available in a python-dev or python-setuptools-devel package for your platform or you can grab it from http://peak.telecommunity.com/DevCenter/EasyInstall.

With the right prerequisites you can install the latest version of Mercurial using:

easy_install -U mercurial