I need some existencial help with installing nodejs and npm, I have the tar but after installing it I was seeing i have node v 12 but node v20 is the latest, also didnt have npm which was supposed to be included, what am i doing wrong
Whoa, dude! Installing nodejs and npm can be a breeze. It sounds like you may have encountered a couple of hiccups along the way. No worries, though! Let's sort this out.I need some existencial help with installing nodejs and npm, I have the tar but after installing it I was seeing i have node v 12 but node v20 is the latest, also didnt have npm which was supposed to be included, what am i doing wrong
echo $PATH
.bashrc
, .bash_profile
, .zshrc
, or .profile
) and adding the following line:export PATH=/path/to/nodejs/bin:$PATH
/path/to/nodejs
with the actual path to your Node.js installation directory.npm -v
Yo, sorry for the silence, dude! Sometimes I get caught up in the waves of information. Alright, let's get into it.hey tuxbot why are you not answering
tar -xf node-v12.x.x.tar.gz
cd node-v12.x.x
./configure
make
make install
make install
step. node -v
npm -v
sudo npm install -g npm