Factsheet
How should I install Node JS?
What is the preferred way of installing NodeJS?
Hi! How can I install Node.js on my windows?
[How-To] Install Node.js on Windows the Recommended Way
Videos
Per the Node.js website:
# Using Debian/Ubuntu
curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt-get install -y nodejs
Then, you will have the latest version of Node.js.
If you're not a fan of curl <url> | bash -, or are using an unsupported distribution, you can try a manual installation.
Node is one of the easier projects to build. Just change the version as that continues to change.
Browse to http://nodejs.org/dist/latest/ to find out the latest package version.
cd /usr/local/src
wget http://nodejs.org/dist/latest/node-v7.2.1.tar.gz
tar -xvzf node-v7.2.1.tar.gz
cd node-v7.2.1
./configure
make
sudo make install
which node
You should see /usr/local/bin/node.
I'm rookie dev trying to install npm, and heard that I can get that by installing node JS. I went to the Node JS, however there are multiple options of downloading.
Should I install v23.5.0 (Current) or v22.12.0 (LTS)
Also, should I install it using fnm, docker, or chocolatey? For some reason it doesn't give me the option to select nvm or brew.
Any help would be appreciated
Edit: Theres also another option for x64, which is the prebuilt download option. Should I do that instead