How To Install Hg In Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?

How To Install Hg In Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?

hg

A command line interface for Mercurial, a distributed source control management system.
See `hg-add`, `hg-commit` and other pages for additional information.

Maintainer: Python Applications Packaging Team



Section: vcs

Install hg

  • Debian apt-get install mercurial Click to copy
  • Ubuntu apt-get install mercurial Click to copy
  • Alpine OS apk add mercurial Click to copy
  • Arch Linux pacman -S mercurial Click to copy
  • Kali Linux apt-get install mercurial Click to copy
  • CentOS yum install mercurial Click to copy
  • Fedora dnf install mercurial Click to copy
  • Raspbian apt-get install mercurial Click to copy
  • macOS brew install mercurial Click to copy

A command line interface for Mercurial, a distributed source control management system. See `hg-add`, `hg-commit` and other pages for additional information.

How to use hg?

Below are few example commands for hg that you can use in the terminal.

Execute Mercurial command:
hg commandClick to copy
Call general help:
hg helpClick to copy
Call help on a command:
hg help commandClick to copy
Check the Mercurial version:
hg --versionClick to copy
Install the latest version of hg in Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS from terminal. To install the hg just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of hg from the respository and install it in your computer/server.