Mailchain
Search…
Installation
Follow the steps below to install Mailchain...

Quick Install (Mac)

To install Mailchain for the first time, we recommend using Homebrew to download, install and manage the application on your local machine.
First we need to tap mailchain repository to the list of formulae that brew tracks using
1
brew tap mailchain/tap
Copied!
Once you have done this, you can install mailchain using
1
brew install mailchain
Copied!

Quick Install (Linux)

To install Mailchain for the first time, run the following command to download and install the application on your local machine.
1
curl -sL https://run.mailchain.xyz/install.sh | sh
Copied!

Quick Install (Windows)

Prerequisites:
To install Mailchain for the first time, you need to install Scoop.sh. To do this, open Powershell and run:
1
Set-ExecutionPolicy RemoteSigned -scope CurrentUser
2
iwr -useb get.scoop.sh | iex
Copied!
Install:
Once Scoop is installed, run the following command to download and install the application on your local machine.
1
scoop install git
2
scoop bucket add mailchain https://github.com/mailchain/scoop-bucket.git
3
scoop install mailchain
4
5
$path = "$home\.mailchain\.mailchain.yaml"; If(!(test-path $path)) { New-Item -ItemType "file" -Force -Path $path }
Copied!

Manual Install

To choose where to store the application, you can install mailchain manually.

1. Download the application

Download the application directly via the Mailchain releases page. We recommend you save it in your home directory: ~/.mailchain/bin

2. Export the application path

Next, add mailchain to your environmental variable path with:
1
export PATH=$PATH:$HOME/.mailchain/bin
Copied!
Note: if you changed the location of the mailchain executable, you should update the path as appropriate:
1
export PATH=$PATH:$HOME/{mailchain_executable_location}
Copied!
Verify the application is installed and running correctly with: mailchain version. For example:`
1
$ mailchain version
2
Version: v0.0.11
Copied!
Next, if the application is working as expected, you’ll want to add the path to ~/.profile, .zshrc, or ~/.bash_profile, depending on which shell you use.
To determine the shell you use, run echo $SHELL. For example, if using zsh, as shown below:
1
$ echo $SHELL
Copied!
Shell output
Command to export the path to the shell profile
/bin/zsh
echo 'export PATH=$PATH:$HOME/.mailchain/bin' >> ~/.zshrc
/bin/bash
echo 'export PATH=$PATH:$HOME/.mailchain/bin' >> ~/.bashrc
/bin/ksh
echo 'export PATH=$PATH:$HOME/.mailchain/bin' >> ~/.kshrc
You are now ready to initialise the application, following the appropriate instructions for Ethereum or Substrate.
Last modified 1yr ago