ethersphere / swarm-cli

Manage your Bee node and interact with the Swarm network via the CLI
BSD 3-Clause "New" or "Revised" License
48 stars 21 forks source link

Add under troubleshooting section how to install latest npm #498

Closed crtahlin closed 1 month ago

crtahlin commented 3 months ago

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