Run JavaScript Everywhere
Node.js is a free, open-sourced, cross-platform JavaScript run-time environment that lets developers write command line tools and server-side scripts outside of a browser.
# Install Node Version Manager (NVM)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
# Install Node.js
nvm install --lts
# Check that Node is installed
node -v
# Check your NPM version
npm -v
Copy and paste this snippet to install Node.js LTS via a Package Manager