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.3.0/stader-cli-linux-amd64 -O ~/bin/stader-cli

  • Wget link ARM64(Linux): wget https://staderlabs.com/eth/releases/stader-node-build/permissionless/v1.3.0/stader-cli-linux-arm64 -O ~/bin/stader-cli

  • Wget link (MacOS - Intel): wget https://staderlabs.com/eth/releases/stader-node-build/permissionless/v1.3.0/stader-cli-darwin-amd64 -O ~/bin/stader-cli

  • Wget link (MacOS - M1): wget https://staderlabs.com/eth/releases/stader-node-build/permissionless/v1.3.0/stader-cli-darwin-arm64 -O ~/bin/stader-cli

Unique checksums for verification and added security

  • AMD64(Linux):

    5bf5a8c5113aa926a8ee62912084961bde8dda9ad11287e8d92f19a63ed5b4e4
  • ARM64(Linux):

    62374105176821d014c46ee587d6248e4f41bc428121fa406637ed38e228e85a
  • MacOS-Intel:

    ff007f7f3b5f5e7a902a9d4a8ccb564cd2af450796dd37ea5ec1200fbcd42fbe
  • MacOS-M1:

    edba856b99cd55703886d10f75236de3d976c994c7585a0546d3988eb12fc01c

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: 1.3.0

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

Last updated