Mercurial

Mercurial is a free code management tool.

In order to use Mercurial, you need to install it yourself, as Mercurial is not included in the Zone platform by default.

Installation requires an SSH connection to the server. Read more: Establishing an SSH connection.

NB!

At the time of writing, the latest stable version was 5.1.2. Check the website for the latest version and download it.

Once the SSH connection is established, run the following commands:

cd ~
wget https://www.mercurial-scm.org/release/mercurial-5.1.2.tar.gz
tar -xf mercurial-5.1.2.tar.gz
rm -f mercurial-5.1.2.tar.gz
mkdir -p bin
cd bin
ln -s ../mercurial-5.1.2/hg ./
ln -s ../mercurial-5.1.2/hgeditor ./

If there are no faults, Mercurial is installed. Test by running hg.

Updated on 4. Oct 2024
Was this article helpful?

Related Articles