I want to use npm but it tells me on every command "npm does not support Node.js v10.19.0" so I want to update my node.js.
I performed sudo apt update
I tried to install it with sudo apt install nodejs
but it tells me the latest version is already installed (but thats not true)
nodejs ist schon die neueste Version (10.19.0~dfsg-3ubuntu1).
Translation: nodejs already is the latest version. I downloaded the latest version 16.13.1 LTS as tar.gz and unpacked the files. I found the commands to use these file are
./configure
make
sudo make install
but where? In the unpacked folder is no folder named cofigure. What am I doing wrong? Thanks for your help and time