5/20/2023 0 Comments Debian install npmYou are now able to configure the source, compiling the source, and build and install it on your Debian server.ġ) $. Now you are on the latest version of Node.js. I will choose the latest one which at the moment is v0.10.22, so i run: This will give you all the versions of Node. Check this through Git by running $ git tag. You now have the possibility to choose whatever version you would like to use of Node. Now change directory ( $ cd node) into your newly cloned directory of Node. It is always a good idea to update your package manager before you install/upgrade, like we did in example #1 with $ sudo apt-get update.Ĭlone (download) the latest Node.js repository: $ sudo apt-get install git-core curl build-essential openssl libssl-dev To do this install Git, CURL, build-essential and SSL software openssl + libssl-dev, from apt-get: Make is already a part of your Debian box. If you would like to have some more control over the versions, i would recommend you doing the installation through Git and Make. You will get the latest most stable build by doing this. $ sudo apt-get update & apt-get install node It is clever to run an update for the package manager before installing. The easiest way is definitely to just install it through the apt-get package manager. Menu How to install Node.js and NPM on a Debian (or Debian-based) Linux box 12 December 2013
0 Comments
Leave a Reply. |