Update your system and install the necessary packages:
sudo apt update && sudo apt upgrade -y
sudo apt install build-essential libssl-dev pkg-config clang cmake git curl -y
The Hemi validator node is built with Rust, so you need to install it:
curl --proto '=https' --tlsv1.2 -sSf <https://sh.rustup.rs> | sh
source $HOME/.cargo/env
Clone the official repository of the Hemi Network:
git clone <https://github.com/hemi-network/hemi-node.git>
cd hemi-node
Build the node with the following command:
cargo build --release