title: how to install nodejs and npm on linux and have a working semver module
body: <p>after trying to update nodejs because there was a problem with the semver module it was not working anymore. searching the internet revealed that there is something wrong with the installation. after removing nodejs as well as npm and installing them again i cannot run npm anymore as the binary is not found.</p>
  <p>as far as i can tell there are multiple ways to install nodejs and npm and i am wondering which is the best way. i would prefer a method that does not rely on a package manager. also i might have trace amounts of previous nodejs installations left and i don't know how to get rid of them.</p>
  <p>i don't know if this is important, but i need npm for a laravel project that is using vue. without it i would never have touch it.</p>
  <p>thank you very much for any help!</p>