#!/bin/bash

# Install Node.js current release from NodeSource.
set -e

sudo apt update && sudo apt upgrade -y
sudo apt install -y curl ca-certificates gnupg build-essential

curl -fsSL https://deb.nodesource.com/setup_current.x | sudo -E bash -
sudo apt install -y nodejs

node -v
npm -v
