title: Linux AWS still looking for uninstalled version of Node and of NPM
body: <p>I'm fairly new to Linux systems, so sorry if the question is too basic. I am using Amazon Linux 2 AMI.</p>
  <p>I had installed version 16.4.2 of NodeJS at the beginning and was giving me compatibilities issues. Hence I tried to uninstall it and then install version 14.15.5 (which was stable on my local dev).</p>
  <p>To uninstall the new version, I ran the command <code>sudo yum remove nodejs</code> and it apparently uninstalled NodeJS. Then I installed the old version via first <code>curl -sL https://rpm.nodesource.com/setup_14.x | sudo bash -</code> and then <code>sudo yum install -y nodejs</code> (it said it was successful). But finally I ran the command <code>node -v</code> to only get:</p>
  <p><code>-bash: /home/ec2-user/.nvm/versions/node/v16.4.2/bin/node: No such file or directory</code></p>
  <p>So he's still looking for the version I uninstalled. How can I completely remove the new version and finally get the new version installed, please?</p>
  <p>Thanks in advance!</p>