Factsheet
Videos
Hi! Like I wrote in the title I'm trying to install Node.js on my windows and I was wondering if someone could help me. I'm following a bootcamp that advices you to follow it on linux (installing a VM) but I'm following it on windows given that I'm waiting to buy a new laptop (I'm scared that the current one doesn't have a powerful RAM to support a VM).
So they give you the instruction to install Node.js on linux. Here they are:
installing curl:
sudo apt install curl
installing nvm:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
initializing nvm:
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
installing node:
nvm install --lts
setting the node version:
nvm use --lts
Now my question is: how can I have the same exact result on windows? Because I wouldn't like to have problems in the future. They write specifically: " We have told to use the most recent LTS version of Node installed on our computer. You must use the LTS version of Node to avoid incompatibilities with packages we will be installing in future lessons. The LTS version of Node is simply a version that is guaranteed support for thirty months after its initial release. It is more stable and compatible with a variety of packages than a non-LTS version of Node."
I already use git bash if this could help!
Thank you guys!