Installation
The Miden node can be installed as a native binary, or as a Docker image.
- Native binary
- Docker image
Install the latest node binary from crates.io:
cargo install miden-node --locked
Or install a specific version:
cargo install miden-node --version <version> --locked
Check the installed binary:
miden-node --help
You can also install directly from a repository revision when you need an unreleased version:
cargo install miden-node --git https://github.com/0xMiden/node.git --rev <revision> --locked
Create a data directory for node state:
mkdir -p full-node-data
Pull the published image:
docker pull ghcr.io/0xmiden/miden-node:<release-tag>
Check the image:
docker run --rm ghcr.io/0xmiden/miden-node:<release-tag> miden-node --help
Create a Docker volume for node state:
docker volume create miden-full-node-data