mercurial

Mercurial downloads

Development Repositories
Main
The main development repository of the Mercurial maintainer Matt Mackall can be found at http://selenic.com/hg.
Crew
The development repository of the Mercurial Crew can be found at http://hg.intevation.org/mercurial/crew.
Requirements
Python
Mercurial uses Python (versions 2.4 through 2.7). Most ready-to-run Mercurial distributions include Python or use the Python that comes with your operating system. When building from source you should confirm that an appropriate Python version is available.
Older Releases
Python 2.3
Mercurial 1.2.1 is the last release to support Python 2.3. Use this if you need to run Mercurial on very old platforms and you cannot update your Python installation.
Older source releases
All previous source releases are available to download.

Get started

Mercurial is written in Python with platform independence in mind. As a result, Mercurial is available on Microsoft Windows, GNU/Linux, Mac OS X, Solaris 11 Express and others. You can either download a binary package for the system of your choice or build it from sources.

Windows users are likely to enjoy the TortoiseHg GUI the most. It integrates Mercurial directly into your explorer.

Packages for common Linux, BSD and Solaris distributions can be installed from the system specific repositories

# Debian/Ubuntu
$ apt-get install mercurial

# Fedora
$ yum install mercurial

# Gentoo
$ emerge mercurial

# FreeBSD
$ cd /usr/ports/devel/mercurial
$ make install

# Solaris 11 Express
$ pkg install SUNWmercurial