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.0/stader-cli-linux-amd64 -O ~/bin/stader-cli
  • Wget link ARM64(Linux): wget https://staderlabs.com/eth/releases/stader-node-build/permissionless/v1.6.0/stader-cli-linux-arm64 -O ~/bin/stader-cli
  • Wget link (MacOS - Intel): wget https://staderlabs.com/eth/releases/stader-node-build/permissionless/v1.6.0/stader-cli-darwin-amd64 -O ~/bin/stader-cli
  • Wget link (MacOS - M1): wget https://staderlabs.com/eth/releases/stader-node-build/permissionless/v1.6.0/stader-cli-darwin-arm64 -O ~/bin/stader-cli

Unique checksums for verification and added security
Verify the checksums using the following command: sha265sum ~/bin/stader-cli

  • AMD64(Linux): 3300141cd86a0d3261f2adfed75fd307ec19f9b601e819ad65dae9d140806219
  • ARM64(Linux): ef42c556f74dc8b4d1f5737e0cc00ed3e02f2e434939ee828f72d435e6e5c4cc
  • MacOS-Intel: e7e867fdd672972f094205736dd7545dd62364e6e5eadc8f543b9ed620cd385f
  • MacOS-M1: 7cef05c377447de8bbbfa824a6c2dc79c3729c30a60916dd54bd1d55baf20fe4

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

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