$ sudo apt-get install -y nodejs build-essential Verify itĪnd there you have it, Node.js installed and working. The syntax is as follows to install Node.js version 7.x (current/latest and recommended for testing purpose): $ sudo apt-get install -y nodejs build-essentialįig.01: Installing LTS version of Node.js on an Ubuntu 16.04 server The syntax is as follows to install Node.js version 6.x (stable LTS and recommended for production usage): Update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto modeģ.5.2 Method #2: Install the latest version of Node.js version 6.x or 7.x Processing triggers for man-db (2.7.5-1). Processing triggers for libc-bin (2.23-0ubuntu7). Selecting previously unselected package nodejs. 32088 files and directories currently installed.) Selecting previously unselected package libuv1:amd64. Get:2 xenial-updates/universe amd64 nodejs amd64 4.2.6~dfsg-1ubuntu4.1 Get:1 xenial/universe amd64 libuv1 amd64 1.8.0-1 The following NEW packages will be installed:Ġ upgraded, 2 newly installed, 0 to remove and 0 not upgraded.Īfter this operation, 13.4 MB of additional disk space will be used. The following additional packages will be installed: Type the following apt command or apt-get command to install both npm and nodejs: Method #1: Install the bundled distro specif Node.js version 4.2.6
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |