I’ve decided to participate in RivalzAI testnet and met some challenges on my way to run additional rClient(s).
After the announce of rClient CLI I’ve tried to add couple of nodes to farm points. The manual is straightforward but there are some extra steps depending on your system version and software on your machine.

1. Permission issue
First error I’ve got after running npm i -g rivalz-node-cli was about permissions. Run sudo npm install is a security risk, more about it here. Solution is to change npm prefix settings where the npm will install global packages:
$ npm config set prefix ~/.npm
You also have to include modules installed here to your
PATH
. In your.zshrc
,.profile
, or equivalent you should also set something likeexport PATH="$HOME/.npm/bin:$PATH"
. This will allow you to run globally installed modules that are located in~/.npm/bin
.
After successful installation command rivalz run I’ve got another error:

2. Node version issue
It has happen because of the version of the Node itself, the requirement is Node.js version 20.0.0. The perfect tool to update it in n and it can be installed via npm. More about n here.
# install n package
$ npm install -g n
# update node
$ sudo n stable
3. Session to constant running node
After it run again rivalz run and you’ll be promted to enter wallet address, core number, memory amount, type of storage and amount of storage. It stated working. But here is the thing, when you close your terminal the process will be terminated and rClient stop. I’ve noticed it when I didn’t get any points from some time. My question in Discord about this issue left without an answer. In this case I’ve used screen. Created new session and then run rivalz run. More about screen you can find here.
# create session with title rClient and run node
$ screen -t rClient -s rClientSession
$ ~/.npm/bin/rivalz run
After successfully started node you can detach from screen session by pressing the key sequence Ctrl-a
+ Ctrl-d
. Done!
To check your working status you can reconnect to session using screen -r.
You do it all on your own risk and responsibility. Toi toi toi!
If you want to join testnet use my referral link.
Leave a Reply