---
title: Install mercurial on Linux | Snap Store
description: Get the latest version of mercurial for Linux - mercurial dvcs
url: https://snapcraft.io/mercurial
---

# mercurial

[Tom Hindle (hindlemail)](https://snapcraft.io/publisher/hindlemail "View all snaps from Tom Hindle (hindlemail)")

* [Tom Hindle (hindlemail)](https://snapcraft.io/publisher/hindlemail "View all snaps from Tom Hindle (hindlemail)")
* [Development](https://snapcraft.io/search?categories=development)

latest/stable 7.0.2

Install latest/stable of mercurial

---

**Install using the command line**

```
sudo snap install mercurial
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

---

### Package name

* mercurial

---

### License

* GPL-2.0+

---

### Last updated

* 5 March 2026 - latest/stable
* 2 July 2026 - latest/edge

---

### Websites

* [hg.sr.ht](https://hg.sr.ht/~hindlemail/mercurialsnappackaging "https://hg.sr.ht/~hindlemail/mercurialsnappackaging")

---

### Contact

* [mercurialsnap@hindlemail.co.uk](mailto:mercurialsnap@hindlemail.co.uk "mailto:mercurialsnap@hindlemail.co.uk")

---

### Command › Alias

* mercurial.mercurial › hg

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/mercurial#report-snap-modal)

---

* [Description](https://snapcraft.io/mercurial#tab-description)
* [Security](https://snapcraft.io/mercurial#tab-security)

#### mercurial dvcs

Mercurial is a free, distributed source control management tool. It efficiently handles
projects of any size and offers an easy and intuitive interface.

In order to give snapped mercurial access to the host's ssh-keys run the following:
snap connect mercurial:ssh-keys

---

## Install mercurial on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the [installing snapd documentation](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/mercurial/arch)

[### CentOS](https://snapcraft.io/install/mercurial/centos)

[### Debian](https://snapcraft.io/install/mercurial/debian)

[### elementary OS](https://snapcraft.io/install/mercurial/elementary)

[### Fedora](https://snapcraft.io/install/mercurial/fedora)

[### KDE Neon](https://snapcraft.io/install/mercurial/kde-neon)

[### Kubuntu](https://snapcraft.io/install/mercurial/kubuntu)

[### Manjaro](https://snapcraft.io/install/mercurial/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/mercurial/pop)

[### openSUSE](https://snapcraft.io/install/mercurial/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/mercurial/rhel)

[### Ubuntu](https://snapcraft.io/install/mercurial/ubuntu)

[### Raspberry Pi](https://snapcraft.io/install/mercurial/raspbian)
