2020-07-17 18:07:05 +00:00
|
|
|
<!--
|
|
|
|
order: 1
|
|
|
|
-->
|
|
|
|
|
|
|
|
# Installation
|
|
|
|
|
2021-08-26 18:06:44 +00:00
|
|
|
Build and install the Ethermint binaries from source or using Docker. {synopsis}
|
2021-08-09 21:21:21 +00:00
|
|
|
|
2021-08-26 18:06:44 +00:00
|
|
|
## Pre-requisites
|
2021-08-09 21:21:21 +00:00
|
|
|
|
2021-09-03 16:54:34 +00:00
|
|
|
- [Install Go 1.17+](https://golang.org/dl/) {prereq}
|
2021-08-26 18:06:44 +00:00
|
|
|
- [Install jq](https://stedolan.github.io/jq/download/) {prereq}
|
2021-08-09 21:21:21 +00:00
|
|
|
|
|
|
|
## Install Binaries
|
|
|
|
|
|
|
|
### GitHub
|
2020-07-17 18:07:05 +00:00
|
|
|
|
|
|
|
Clone and build Ethermint using `git`:
|
|
|
|
|
|
|
|
```bash
|
2021-06-22 10:49:18 +00:00
|
|
|
git clone https://github.com/tharsis/ethermint.git
|
2020-07-17 18:07:05 +00:00
|
|
|
cd ethermint
|
|
|
|
make install
|
|
|
|
```
|
|
|
|
|
2021-08-03 17:35:31 +00:00
|
|
|
Check that the binaries have been successfully installed:
|
2020-07-17 18:07:05 +00:00
|
|
|
|
|
|
|
```bash
|
2021-08-09 21:21:21 +00:00
|
|
|
ethermintd version
|
2020-07-17 18:07:05 +00:00
|
|
|
```
|
|
|
|
|
2021-08-24 00:39:10 +00:00
|
|
|
### Docker
|
2020-07-17 18:07:05 +00:00
|
|
|
|
2020-07-31 21:42:04 +00:00
|
|
|
You can build Ethermint using Docker by running:
|
|
|
|
|
|
|
|
```bash
|
2020-08-10 20:10:33 +00:00
|
|
|
make docker-build
|
2020-07-31 21:42:04 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
This will install the binaries on the `./build` directory. Now, check that the binaries have been
|
2021-08-03 17:35:31 +00:00
|
|
|
successfully installed:
|
2020-07-31 21:42:04 +00:00
|
|
|
|
|
|
|
```bash
|
2021-08-09 21:21:21 +00:00
|
|
|
ethermintd version
|
2020-07-31 21:42:04 +00:00
|
|
|
```
|
2020-07-17 18:07:05 +00:00
|
|
|
|
2021-08-24 00:39:10 +00:00
|
|
|
### Releases
|
2020-07-17 18:07:05 +00:00
|
|
|
|
2021-08-09 21:21:21 +00:00
|
|
|
You can also download a specific release available on the Ethermint [repository](https://github.com/tharsis/ethermint/releases) or via command line:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
go install github.com/tharsis/ethermint@latest
|
|
|
|
```
|