Skip to main content

One line installer for Mithril binaries

· 2 min read
Mithril Team

One line installer for Mithril binaries

In order to facilitate the installation and update of Mithril binaries, we have created a one line installer that downloads and installs the Mithril binaries for you. This installer is available for Linux and MacOS, and for the Mithril signer, Mithril aggregator, and Mithril CLI.

The one line command is also displayed in the several Download the pre-built binary sections across the documentation.

Here are few examples of the one line installer:

  • Download the latest Mithril signer in the current directory:
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-signer -d latest -p $(pwd)
  • Download the latest Mithril client CLI in the current directory:
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-client -d latest -p $(pwd)
  • Download the unstable Mithril aggregator in the current directory:
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-aggregator -d unstable -p $(pwd)
  • Download the Mithril client of distribution 2445.0 in the current directory:
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-client -d 2445.0 -p $(pwd)
  • Installer usage:
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -h

Install or upgrade a Mithril node
Usage: sh [-n node] [-v version] [-d distribution] [-p path]
-c node : Mithril node to install or upgrade (mithril-signer, mithril-aggregator, mithril-client)
-d distribution : Distribution to upgrade to (latest, unstable or distribution version e.g '2445.0')
-p path : Path to install the component

For any inquiries or assistance, don't hesitate to reach out to the team on the Discord channel.