Debian install Nodejs 14

Nodejs 14 on Debian 10 buster

Node.js 14 was released on 2020-04-21 and is expected to enter active LTS state on 2020-10-20

curl -sL | sudo bash -

Do repo update then update

apt update
apt -y install nodejs

If you gonna use Nodejs on development process, the you may need these module

apt -y install gcc g++ make build build-essential

Yarn on Nodejs

curl -sL | sudo apt-key add -
echo "deb stable main" | sudo tee /etc/apt/sources.list.d/yarn.list

apt update && sudo apt install yarn