Skip to main content
Install mxnode, create a MultiversX node shape, start services, and verify that systemd units are running.

Prerequisites

RequirementValue
HostLinux with systemd
CLI installcurl -fsSL https://raw.githubusercontent.com/XOXNO/mx-node/main/install.sh | sh
Multikey keys~/VALIDATOR_KEYS/allValidatorsKeys.pem
Validator keysOne node-{i}.zip per validator node
Observer keysNone; observers generate throwaway BLS keys
Validator and multikey flows use live BLS signing keys. Verify backups, file ownership, and host access before starting services.

1. Install The CLI

curl -fsSL https://raw.githubusercontent.com/XOXNO/mx-node/main/install.sh | sh
mxnode --version

2. Place Keys

For a multikey host:
mkdir -p ~/VALIDATOR_KEYS
cp /path/to/allValidatorsKeys.pem ~/VALIDATOR_KEYS/
For a validator host, place node-0.zip, node-1.zip, and so on in ~/VALIDATOR_KEYS/.

3. Install A Shape

Choose one:
ShapeCommand
Multikey squadmxnode install --role multikey
Single validatormxnode install --role validator
Observer squad with proxymxnode install --role observer --squad --with-proxy
Multikey backup hostmxnode install --role multikey --backup
A multikey install creates four nodes, one per shard.

4. Start Services

mxnode start --all
mxnode status
Use one node when testing a targeted change:
mxnode start --node 0
mxnode logs --node 0

Verify

You have a valid quickstart result when:
  • mxnode --version prints a version.
  • mxnode status lists the expected nodes.
  • Each expected systemd unit is active or syncing.
  • Logs do not show key load failures, port collisions, or repeated restarts.

Common Failure

SymptomCauseFix
Missing key errorKey file is not in ~/VALIDATOR_KEYS/ or has the wrong name.Move the key file and rerun install.
--role multikey --count rejectedMultikey shape is fixed at four nodes.Remove --count.
Unit restarts repeatedlyConfig, port, or binary issue.Run mxnode logs --node <n> and mxnode doctor.
Proxy installed with signing keysPublic RPC and validator signing share a host.Put proxy on observer hosts, not multikey hosts.

Next Steps