Tag: nvm

  • Use nvm for all users

    From Digital Ocean

    This is very tricky and you should rerun this command every time you upgrade your node version:

    n=$(which node);n=${n%/bin/node}; chmod -R 755 $n/bin/*; sudo cp -r $n/{bin,lib,share} /usr/local

    Better solutions are welcome.