![]() ![]() But if you want to install NPM you need to continue.įirst we want to be able to use the command node (if only because the NPM install expects it), to do this we use Debian’s update-alternatives command: # update-alternatives -install /usr/bin/node nodejs /usr/bin/nodejs 100įinally we can install NPM. You can stop here, if all you intend to do is run Node.js and can remember that it is now called nodejs. This will install Node.js, but as the command nodejs, not node as per normal. ‘-t wheezy-backports’ can be left out if you are using a newer release than Wheezy/Stable. ![]() We can install Node.js with the following command (for best results run all these commands as root): # aptitude -t wheezy-backports install nodejs Follow the instructions in this post to install wheezy-backports. Update 7: The nodejs package is now only available in backports for Wheezy (Stable), but is in Jessie (Testing) and Sid (Unstable). Update 3: The curl instruction has been updated according to the NPM documentation. Here are their instructions for installation. Update 0: Jessie is the new Debian Stable and Node.js has much better support for it. Installing it is easy but not entirely straight forward. Node.js is not a first class citizen in Debian yet. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |