1sudo apt update
2curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -
3sudo apt -y install nodejs
4node -v
5
6# Install Node Development tools
7sudo apt -y install gcc g++ make
8
9# Install Yarn
10curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
11echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
12sudo apt update && sudo apt install yarn
1sudo apt update
2curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -
3sudo apt -y install nodejs
4node -v