# Step 2: Download Stadernode

### Step 2.1 Open your system ports[​](https://www.staderlabs.com/docs-v1/Ethereum/Node-operator/permissionless-node-operator/node-registration-and-adding-validators/step-2-download-stader-node#step-21-open-your-system-ports) <a href="#step-21-open-your-system-ports" id="step-21-open-your-system-ports"></a>

A good practice for security would be to close all the ports on your system and then open only the required ports. Below is the list of ports to be opened:

* Execution client: 30303 tcp/udp
* Lighthouse: 9001 tcp/udp
* Prysm: 13000 tcp and 12000 udp

### Step 2.2 Move to home directory on your terminal and ensure you not on the root user[​](https://www.staderlabs.com/docs-v1/Ethereum/Node-operator/permissionless-node-operator/node-registration-and-adding-validators/step-2-download-stader-node#step-22-move-to-home-directory-on-your-terminal-and-ensure-you-not-on-the-root-user) <a href="#step-22-move-to-home-directory-on-your-terminal-and-ensure-you-not-on-the-root-user" id="step-22-move-to-home-directory-on-your-terminal-and-ensure-you-not-on-the-root-user"></a>

Change directory to home directory using the command: **`cd ~`**

{% hint style="danger" %}
**Note:** Please avoid running the commands directly from the root. Always run it from a user. Follow the below steps to exit If your terminal is running from root

* Use the **`exit`** command to come out of root user and then
* Use **`cd ~`** command to change the directory to home directory.
  {% endhint %}

### Step 2.3 Create a new directory on your terminal[​](https://www.staderlabs.com/docs-v1/Ethereum/Node-operator/permissionless-node-operator/node-registration-and-adding-validators/step-2-download-stader-node#step-23-create-a-new-directory-on-your-terminal) <a href="#step-23-create-a-new-directory-on-your-terminal" id="step-23-create-a-new-directory-on-your-terminal"></a>

Create a new directory using **`mkdir ~/bin`** command

### Step 2.4 Download Stader CLI[​](https://www.staderlabs.com/docs-v1/Ethereum/Node-operator/permissionless-node-operator/node-registration-and-adding-validators/step-2-download-stader-node#step-24-download-stader-cli) <a href="#step-24-download-stader-cli" id="step-24-download-stader-cli"></a>

**To manage your node, you will need Stader CLI (command-line interface). Download stader CLI using the commands provided in the below doc for your respective system architecture.**

* Wget link AMD64(Linux): `wget https://staderlabs.com/eth/releases/stader-node-build/permissionless/v1.6.5/stader-cli-linux-amd64 -O ~/bin/stader-cli`
* Wget link ARM64(Linux): `wget https://staderlabs.com/eth/releases/stader-node-build/permissionless/v1.6.5/stader-cli-linux-arm64 -O ~/bin/stader-cli`
* Wget link (MacOS - Intel): `wget https://staderlabs.com/eth/releases/stader-node-build/permissionless/v1.6.5/stader-cli-darwin-amd64 -O ~/bin/stader-cli`
* Wget link (MacOS - M1): `wget https://staderlabs.com/eth/releases/stader-node-build/permissionless/v1.6.5/stader-cli-darwin-arm64 -O ~/bin/stader-cli`

**Unique checksums for verification and added security**\
**Verify the checksums using the following command:** `sha256sum ~/bin/stader-cli`

```
AMD64(Linux): 153d4b004c9219d7e12ec046a5901300b87438edeb1e4162148d280f3ea0cf73
ARM64(Linux): 5f58a97fb64941590cc34526fbb4c58a4cc380da4458f68b9eaf8f30be7d17e5
MacOS-Intel: 2dd6dd14ecc4192a5b35624bf41f1c18e688d94206c2ba6a1bdae1ad9ff1e887
MacOS-M1: cb2687840c3820a213ed5d7c6be74d34697f04028512504c5ac9c08eb0dc8f3d
```

### **Step 2.5 Steps to install wget if you don't have it on your system. If you have Wget already, you can skip this step**[​](https://www.staderlabs.com/docs-v1/Ethereum/Node-operator/permissionless-node-operator/node-registration-and-adding-validators/step-2-download-stader-node#step-25-steps-to-install-wget-if-you-dont-have-it-on-your-system-if-you-have-wget-already-you-can-skip-this-step) <a href="#step-25-steps-to-install-wget-if-you-dont-have-it-on-your-system-if-you-have-wget-already-you-can-sk" id="step-25-steps-to-install-wget-if-you-dont-have-it-on-your-system-if-you-have-wget-already-you-can-sk"></a>

**To check if Wget is present on your system run the command: `wget --version`**

* You will see the version details if the tools is installed
* You will see “command not found: wget” prompt if the tool is not installed.

**Installing wget on MacOS**

* Run the command and download brew: **`/bin/bash -c "$(curl -fsSL <https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh>)"`**
* Install wget using the command: **`brew install wget`**

**Installing wget on Debian based systems like Ubuntu**

* Run the command and install wget **`sudo apt-get install wget -y`**

### Step 2.6 Give permission to run the downloaded application[​](https://www.staderlabs.com/docs-v1/Ethereum/Node-operator/permissionless-node-operator/node-registration-and-adding-validators/step-2-download-stader-node#step-26-give-permission-to-run-the-downloaded-application) <a href="#step-26-give-permission-to-run-the-downloaded-application" id="step-26-give-permission-to-run-the-downloaded-application"></a>

Run this command **`chmod +x ~/bin/stader-cli`** to give permission to run the downloaded application

### Step 2.7 Restart the terminal and check the CLI version[​](https://www.staderlabs.com/docs-v1/Ethereum/Node-operator/permissionless-node-operator/node-registration-and-adding-validators/step-2-download-stader-node#step-27-restart-the-terminal-and-check-the-cli-version) <a href="#step-27-restart-the-terminal-and-check-the-cli-version" id="step-27-restart-the-terminal-and-check-the-cli-version"></a>

After a successful restart of the terminal run the command **`~/bin/stader-cli --version`** to verify if the application was downloaded and running perfectly. A perfect download will display the latest CLI version.

**Latest CLI version: v1.6.5**

### After successfully downloading your Stader node, proceed to [Step 3](/stader/ethereum/node-operator/permissionless-node-operator/node-registration-and-adding-validators/step-3-install-stadernode.md) to install the node. <a href="#after-successfully-downloading-your-stader-node-proceed-to-step-3-to-install-the-node" id="after-successfully-downloading-your-stader-node-proceed-to-step-3-to-install-the-node"></a>


---

# 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://stader.gitbook.io/stader/ethereum/node-operator/permissionless-node-operator/node-registration-and-adding-validators/step-2-download-stadernode.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.
