Node.js is a JavaScript platform for general-purpose programming that allows users to build network applications quickly.
In this guide, we’ll show you how to get started with Node.js on an Ubuntu 16.04 server.
In order to get this version, we just have to use the apt package manager. We should refresh our local package index first, and then install from the repositories:
In this guide, we’ll show you how to get started with Node.js on an Ubuntu 16.04 server.
In order to get this version, we just have to use the apt package manager. We should refresh our local package index first, and then install from the repositories:
$ sudo apt-get update
$ sudo apt-get install nodejs
In most cases, you’ll also want to also install npm, which is the Node.js package manager. You can do this by typing:
$ sudo apt-get install npm
To check which version of Node.js you have installed after these initial steps, type:
$ nodejs -v
output
v8.10.0
nice informative post. Thanks you for sharing.
ReplyDeleteNodeJS Development