swarm-cli icon indicating copy to clipboard operation
swarm-cli copied to clipboard

Add under troubleshooting section how to install latest npm

Open crtahlin opened this issue 9 months ago • 0 comments

In case of Ubuntu 22.04, just using npm installation procedure as in readme file will result in swarm-cli not working.

Instead, this procedure could be followed for successful swarm-cli installation:

    apt install npm
    npm install --global @ethersphere/swarm-cli
    sudo npm cache clean -f
    sudo npm install -g n
    sudo n stable
    node -v
    swarm-cli

(Above works on my system(s), TM.)

crtahlin avatar May 11 '24 15:05 crtahlin