Skip to content

Instantly share code, notes, and snippets.

@cyrex562
Created April 27, 2024 19:12
Show Gist options
  • Save cyrex562/8ccbf854a976770f558f62fdaebaeb25 to your computer and use it in GitHub Desktop.
Save cyrex562/8ccbf854a976770f558f62fdaebaeb25 to your computer and use it in GitHub Desktop.
Install nodejs, npm, gulp, and yarn

Install nodejs, npm, gulp, and yarn

install nodejs on debian-like systems

curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install -y nodejs build-essential

install additional dev tools

sudo apt-get install gcc g++ make

install yarn

curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment