Notes

Install Nodejs and Yarn on Armbian

Edit on GitHub


Armbian
 1# Add repo and GPG key
 2#curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
 3#curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
 4curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -
 5
 6
 7# install Node
 8sudo apt install -y nodejs
 9
10# install build tools for native addons (optional - gcc, g++, make etc.)
11sudo apt install -y build-essential
12
13# install Yarn package manager
14curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
15
16echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
17
18sudo apt update && sudo apt install yarn