AppBreakup
Mercurial logo

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
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.

AttributeMercurialFossilPerforce P4Jujutsu (jj)
PricingOpen sourceOpen sourceFree plan + paidOpen source
Verified price——$39 per user/month (Cloud, billed monthly)—
Free planFree appFree appYes, up to 5 usersFree app
Open sourceYesYesNoYes
Self-hostableNoYesNoNo
PlatformsWindows, macOS, LinuxWindows, macOS, Linux, Self-hostedWindows, macOS, Linux, Self-hostedWindows, macOS, Linux

Top Mercurial alternatives

See all 6
  1. 1Fo
    Fossil

    Also distributed and simple, plus a built-in bug tracker, wiki and web interface in one binary.

    79.8
  2. 2Perforce P4 logo
    Perforce P4

    Centralised version control built for huge monorepos and binary assets, with file locking, for teams that outgrew Mercurial at scale.

    61.8
  3. 3Jujutsu (jj) logo
    Jujutsu (jj)

    Brings Mercurial-style ideas like revsets and easy history editing to Git-backed repos you can push anywhere.

    42.3
  4. 4Pi
    Pijul

    Patch-based alternative with commuting changes and more predictable merges.

    42.3
  5. 5Sapling SCM logo
    Sapling SCM

    Grew out of Mercurial and adds stacked commits, smartlog and Git interop.

    42.3

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
Your rating of Mercurial

Never shown publicly. A work email helps us verify you.

What did you use it for, and what was good or bad? At least 40 characters.

A GitHub username, your company domain, or say you can send a screenshot. Verified reviews count more.

By submitting, you confirm you're at least 16 and agree to our terms. Your name, rating, review and the date are published; your email isn't. See our privacy policy.

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.

See all 6 Mercurial alternatives