Install JMESd
JMESd is the command-line interface and daemon that connects to JMES and enables you to interact with the JMES blockchain. JMES Core is the official Golang reference implementation of the JMES node software.
This guide is for developers who want to install JMESd and interact with the JMES Core without running a full node. If you want to run a full node or join a network, use the documentation on how to run a full JMES node.
Prerequisites
- Golang v1.18 linux/amd64
- Ensure your
GOPATH
andGOBIN
environment variables are set up correctly. - Linux users: install build-essential.
If you are using a Mac, follow the JMESd Mac installation guide.
From binary
The easiest way to install JMESd and JMES Core is by downloading a pre-built binary for your operating system. You can find the latest binaries on the releases page. If you have a Mac, follow the Mac installation instructions.
From source
1. Get the JMES Core source code
Use git
to retrieve JMES Core and check out the main
branch, which contains the latest stable release.
_3git clone https://github.com/jmesworld/core_3cd core_3git checkout [latest version]
2. Build JMES Core from source
Build JMES Core, and install the JMESd executable to your GOPATH
environment variable.
_1make install
3. Verify your JMES Core installation
Verify that JMES Core is installed correctly.
_1jmesd version --long
If JMES Core is installed correctly, you will get the following output:
_6name: jmes_6server_name: jmesd_6version: v2.0.0_6commit: ea682c41e7e71ba0b182c9e7f989855fb9595885_6build_tags: netgo,ledger_6go: go version go1.18.2 darwin/amd64
If the jmesd: command not found
error message is returned, confirm that the Go binary path is correctly configured by running the following command:
_1export PATH=$PATH:$(go env GOPATH)/bin
Next steps
For more information on JMESd commands and usage, visit Using JMESd.