Skip to content

Instantly share code, notes, and snippets.

@joaquimnetocel
Created March 16, 2024 02:20
Show Gist options
  • Save joaquimnetocel/e060e136fd49e3da06f0692536729c2c to your computer and use it in GitHub Desktop.
Save joaquimnetocel/e060e136fd49e3da06f0692536729c2c to your computer and use it in GitHub Desktop.
INSTALAÇÃO DO NODE NO LINUX
sudo apt update
sudo apt upgrade
sudo apt install -y curl
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt-get install nodejs -y
node --version.

NO CASO DE ERRO, TENTAR:

sudo dpkg --remove --force-remove-reinstreq libnode-dev
sudo dpkg --remove --force-remove-reinstreq libnode72:amd64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment