# ⚙️  Installation

Recommended Hardware:

<table><thead><tr><th>Node Type</th><th width="184">CPU</th><th>RAM</th><th>Storage</th></tr></thead><tbody><tr><td>Mainnet</td><td>4</td><td>4GB</td><td>40GB </td></tr></tbody></table>

&#x20;***Update system and install build tools***

```bash
sudo apt -q update
sudo apt install curl git wget htop tmux build-essential jq make lz4 gcc unzip -y
sudo apt -qy upgrade
```

***Download binary files***

```bash
wget https://github.com/nymtech/nym/releases/download/v2025.3-ruta/nym-node
```

Download the latest node binary from [GitHub](https://github.com/nymtech/nym/releases).

***Make the file executable***

```bash
chmod +x nym-node
```

***Move the binary file to the system folder***

```bash
mv nym-node /usr/local/bin/
```

***Initialize the node***

```bash
nym-node run --id <ID> --init-only --mode mixnode --verloc-bind-address 0.0.0.0:1790 --public-ips "$(curl -4 https://ifconfig.me)" --accept-operator-terms-and-conditions
```

*--id \<ID>* here you need to specify the name of the node

***Creating a systemd service***

```bash
echo '[Unit]
Description=Nym Node 1.2.1
StartLimitInterval=350
StartLimitBurst=10

[Service]
User=root
LimitNOFILE=65536
ExecStart=/usr/local/bin/nym-node run --id <ID> --deny-init --mode mixnode --accept-operator-terms-and-conditions
KillSignal=SIGINT
Restart=on-failure
RestartSec=30

[Install]
WantedBy=multi-user.target' | tee /etc/systemd/system/nym-node.service
```

As in the previous step, you need to replace *\<ID>* with your value

***Startup and status check***

```bash
sudo systemctl daemon-reload
sudo systemctl enable nym-node
sudo systemctl start nym-node
sudo systemctl status nym-node
```

***Checking logs***

```bash
sudo journalctl -u nym-node -f
```

{% hint style="info" %}
Make sure you have your ports open: 1789, 1790, 8000 (and 443, 22, 80) for correct operation and rewards. More info about ports in [official docs](https://nymte.ch/docs/next/run-nym-nodes/nodes/mixnodes/#configure-your-firewall).
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://services.validexis.com/mainnets/nym/installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
