![]() ![]() Using the personal package archive (PPA) 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.įirst, you need to install the PPA itself to access its contents ![]() To check the version of Node.js you have installed, run the command: nodejs -v This will allow you to install modules and packages for Node.js.ĭue to a conflict with another package, the executable from Ubuntu repositories is called nodejs instead of node Let's install npm - package manager for Node.js sudo apt-get install npm Next, let's install Node.js from the repositories: sudo apt-get install nodejs To install it we will use the package manager aptįirst update the local package index, and then install the distribution from the repositories: sudo apt-get update Installing a version of the distribution from the standard repositories. 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) 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. ![]()
0 Comments
Leave a Reply. |