Skip to content

Instantly share code, notes, and snippets.

@opencoca
Last active December 31, 2020 23:38
Show Gist options
  • Select an option

  • Save opencoca/07a298336b4e216868a7469db907991c to your computer and use it in GitHub Desktop.

Select an option

Save opencoca/07a298336b4e216868a7469db907991c to your computer and use it in GitHub Desktop.
Setup the latest Node, NPM, and Yarn on a Debian based system
sudo apt-get install gcc g++ make && sudo apt-get install -y nodejs && 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