is there a recommended install for nvm so all users can use it? i cannot find anything on the web regarding this.
this is what i did
sudo -s curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | NVM_DIR=/usr/local/nvm bashnvm.sh in /etc/profile.d with the following contents:
#!/usr/bin/env bash
export NVM_DIR="/usr/local/nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm/etc/profile.d/nvm.shnvm install nodenpm install -g npm