-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2139 from input-output-hk/jpraynaud/2034-dev-blog…
…-post-one-line-installer Docs: dev blog post for one line installer
- Loading branch information
Showing
3 changed files
with
70 additions
and
2 deletions.
There are no files selected for viewing
64 changes: 64 additions & 0 deletions
64
docs/website/blog/2024-11-25-one-line-binaries-installer.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
--- | ||
title: One line installer for Mithril binaries | ||
authors: | ||
- name: Mithril Team | ||
tags: | ||
[ | ||
binaries, | ||
pre-built, | ||
install, | ||
update, | ||
nodes, | ||
command-line, | ||
binaries, | ||
installer, | ||
] | ||
--- | ||
|
||
### 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: | ||
|
||
```bash | ||
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: | ||
|
||
```bash | ||
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: | ||
|
||
```bash | ||
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: | ||
|
||
```bash | ||
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: | ||
|
||
```bash | ||
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](https://discord.gg/5kaErDKDRq). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters