title: How to install nvm for the www-data user in Ubuntu?
body: <p>I already have installed nvm for a different user, but I now want it also installed for <code>www-data</code>.</p>
  <p>So I try the following:</p>
  <pre><code>su -s /bin/bash www-data
  
  
  curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
  </code></pre>
  <p>But I'm getting the following warning and nothing happens:</p>
  <pre><code>nvm is already installed in /home/user1/.nvm, trying to update using git
  </code></pre>
  <p>What can I do?</p>