


# This script is built from a template in # Run as root or insert `sudo -E` before `bash`: # Script to install the NodeSource Node.js 10.x repo onto a # Discussion, issues and change requests at: Next, use curl to retrieve the installation script for the version you need: curl -sL -o nodesource_setup.shĬheck out the contents with the nano editor: nano nodesource_setup.sh Let's install the PPA to access the contents of the archive. Using a personal package archive(PPA) that is supported by NodeSource, you can choose to install between Node.js v8.x (supported until December 2019), Node.js v10.x (supported until April 2021) and Node.js v12.x. Let's install curl, which will be used to access the PPA: sudo apt install curl Node.js is used primarily on the server, acting as a web server, but there is an opportunity to develop in Node.js and desktop window applications (using NW.js, AppJS or Electron for Linux, Windows and Mac OS)īefore installing Node.js, update your existing Debian package list: Node.js adds the ability for JavaScript to interact with input/output devices via its API (written in C++), to connect other external libraries written in different languages, providing calls to them from JavaScript code. Node.js is a software platform that transforms JavaScript from a highly specialized language into a general-purpose language.
