Skip to main content

Step 2: Download Stader node

Step 2.1 Open your system ports

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

Change directory to home directory using the command: cd ~

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.

Step 2.3 Create a new directory on your terminal

Create a new directory using mkdir ~/bin command

Step 2.4 Download Stader CLI

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.2/stader-cli-linux-amd64 -O ~/bin/stader-cli
  • Wget link ARM64(Linux): wget https://staderlabs.com/eth/releases/stader-node-build/permissionless/v1.6.2/stader-cli-linux-arm64 -O ~/bin/stader-cli
  • Wget link (MacOS - Intel): wget https://staderlabs.com/eth/releases/stader-node-build/permissionless/v1.6.2/stader-cli-darwin-amd64 -O ~/bin/stader-cli
  • Wget link (MacOS - M1): wget https://staderlabs.com/eth/releases/stader-node-build/permissionless/v1.6.2/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): 1040da26005f0611050ad2ac0d5145ed334fcbc0be9acf67f3d8643751fa2ff4
  • ARM64(Linux): 8fa8b9207e1057176beb13e5ef221d5bff358595ead04eece4630d62aed24972
  • MacOS-Intel: 8cb1c1f939905756cee005f955ba9883986f7fa742d515d1bc136bf793442401
  • MacOS-M1: 071815309f2e933f9314b792bba222f765ec066b650239e765998efe8084503d

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

To check if Wget is present on your system run the commands 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.

For 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

For 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

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

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.2

After successfully downloading your Stader node, proceed to Step 3 to install the node.