title: NVM not installing on Ubuntu 21.04 Terminal
body: <p>I've been having issues with upgrading my version of Node.js recently and one of the ways I've tried was with node version manager. When I install the <code>install_nvm.sh</code> file with <code>curl -sL https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh -o install_nvm.sh</code> and ran <code>bash install_nvm.sh</code>, I get this error:</p>
  <pre><code>install_nvm.sh: line 1: 400: : command not found
  </code></pre>
  <p>My version of Node is on 12.21.0 and NPM is on 7.18.1. This started when I tried to download a dependency called <code>&quot;yt-search&quot;</code>, but it said that it depended on a vulnerable version of <code>&quot;cheerio&quot;</code>, <code>&quot;css-select&quot;</code> and <code>&quot;css-what&quot;</code>. I tried to install each of them one by one to their recent versions, but the error still was there. I had to reinstall my terminal over 10 times to attempt to fix this because when I went further, the errors started to pile up.</p>
  <p><a href="https://i.stack.imgur.com/b6dZq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/b6dZq.png" alt="When I tried to install yt-search with npm" /></a></p>