
Mercurial
A free, distributed version control system known for its simple, consistent commands.
Updated · AppBreakup editorial · Windows, macOS, Linux
Is Mercurial free?
Yes, free and open source
- License:
- GPLv2 or later
Checked on Mercurial's site Nov 8, 2026
Switch from Mercurial to
All 6- FoFossil
Open source
Perforce P4Starting price: $39 per user/month (Cloud, billed monthly)
Jujutsu (jj)Open source
- Verified facts
- 4 of 4
- Alternatives ranked
- 6
- Approved reviews
- 0
- Visits sent from here
- 0
About Mercurial
Mercurial (the hg command) is a distributed version control system in the same family as Git: every clone holds the full history, so committing, branching and diffing are local and fast. Its main draw is a smaller, more predictable command set, with advanced features such as history rewriting switched on through extensions rather than exposed by default. That makes it easier to learn and harder to break, which is why some large companies have run very big monorepos on it. It is free software under the GPLv2 or later, written mostly in Python with Rust parts, and runs on Windows, macOS and Linux. The catch is ecosystem: GitHub and GitLab.com don't host Mercurial repositories, so you need a host such as Heptapod or your own server, and far fewer tools and tutorials target it than target Git.
Best for: Teams that want distributed version control with a simpler, safer command line than Git.
Pros and cons
What works
- Consistent, smaller command set that is easier to learn
- Powerful features stay opt-in through extensions
- Full local history makes most operations fast and offline
- Free software under the GPLv2 or later
Why people leave
- GitHub and GitLab.com don't host Mercurial repositories
- Far smaller ecosystem of GUIs, integrations and tutorials than Git
- Fewer developers already know it, so onboarding takes more effort
Mercurial vs Fossil, Perforce P4 and Jujutsu (jj)
From each app's listing and the prices verified on its own site. A dash means we haven't verified it yet.
| Attribute | Mercurial | Fossil | Perforce P4 | Jujutsu (jj) |
|---|---|---|---|---|
| Pricing | Open source | Open source | Free plan + paid | Open source |
| Verified price | — | — | $39 per user/month (Cloud, billed monthly) | — |
| Free plan | Free app | Free app | Yes, up to 5 users | Free app |
| Open source | Yes | Yes | No | Yes |
| Self-hostable | No | Yes | No | No |
| Platforms | Windows, macOS, Linux | Windows, macOS, Linux, Self-hosted | Windows, macOS, Linux, Self-hosted | Windows, macOS, Linux |
Top Mercurial alternatives
See all 6- 1FoFossil79.8
Also distributed and simple, plus a built-in bug tracker, wiki and web interface in one binary.
- 2
Perforce P461.8Centralised version control built for huge monorepos and binary assets, with file locking, for teams that outgrew Mercurial at scale.
- 3
Jujutsu (jj)42.3Brings Mercurial-style ideas like revsets and easy history editing to Git-backed repos you can push anywhere.
- 4PiPijul42.3
Patch-based alternative with commuting changes and more predictable merges.
- 5
Sapling SCM42.3Grew out of Mercurial and adds stacked commits, smartlog and Git interop.
Why people left Mercurial
In reviewers' own words, from reviews of the apps they moved to. These are their opinions, not ours.
No switching stories yet. If you moved away from Mercurial, review the app you switched to and tell us why.
Reviews
No approved reviews yet. How we verify reviewers
Write a review of Mercurial
Mercurial: common questions
What is Mercurial?
Mercurial: A free, distributed version control system known for its simple, consistent commands. Best for teams that want distributed version control with a simpler, safer command line than Git. Available for Windows, macOS and Linux.
Is Mercurial free?
Yes. Mercurial is free, open-source software.
Is Mercurial open source?
Yes.
What platforms does Mercurial run on?
Mercurial is available for Windows, macOS and Linux.
What are the best alternatives to Mercurial?
The highest-ranked Mercurial alternatives right now are Fossil, Perforce P4 and Jujutsu (jj). See the full ranked list for pricing, platforms and verified facts.
Mercurial vs Fossil: what's the difference?
Both Mercurial and Fossil are free and open source. Both run on Windows, macOS and Linux.