-
Notifications
You must be signed in to change notification settings - Fork 0
Installing Node.js via package manager
The packages on this page are maintained and supported by their respective packagers, not the node.js core team. Please report any issues you encounter to the package maintainer. If it turns out your issue is a bug in node.js itself, the maintainer will report the issue upstream.
Node.js is available in official gentoo portage tree. You have to unmask it.
# emerge -aqv --autounmask-write nodejs
# etc-update
# emerge -aqv nodejs
Node.js is available in official repo for Debian Sid(unstable).
For Debian Wheezy, your best bet is to compile node by yourself:
sudo apt-get install python g++ make checkinstall
mkdir ~/src && cd $_
wget -N http://nodejs.org/dist/node-latest.tar.gz
tar xzvf node-latest.tar.gz && cd node-v*
./configure
checkinstall #(remove the "v" in front of the version number in the dialog)
sudo dpkg -i node_*
Uninstall:
sudo dpkg -r node
Example install:
sudo apt-get update
sudo apt-get install python-software-properties python g++ make
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs
It installs current stable Node on the current stable Ubuntu. Quantal (12.10) users may need to install the software-properties-common package for the add-apt-repository
command to work: sudo apt-get install software-properties-common
As of Node.js v0.10.0, the nodejs package from Chris Lea's repo includes both npm and nodejs-dev.
There is a naming conflict with the node package (Amateur Packet Radio Node Program), and the nodejs binary has been renamed from node
to nodejs
. You'll need to symlink /usr/bin/node
to /usr/bin/nodejs
or you could uninstall the Amateur Packet Radio Node Program to avoid that conflict.
Node.js stable repos list. Also node.js is available in openSUSE:Factory repository.
Available RPM packages for: openSUSE 11.4, 12.1, Factory and Tumbleweed; SLE 11 (with SP1 and SP2 variations).
Example install on openSUSE 12.1:
sudo zypper ar http://download.opensuse.org/repositories/devel:/languages:/nodejs/openSUSE_12.1/ NodeJSBuildService
sudo zypper in nodejs nodejs-devel
Node.js and npm are available in Fedora 18 and later. Just use your favorite graphical package manager or run this on a terminal to install both npm and node:
sudo yum install npm
Node.js and npm are available from the Fedora Extra Packages for Enterprise Linux (EPEL) repository. If you haven't already done so, first enable EPEL and then run the following command to install node and npm:
su -c 'yum install npm'
Node.js is available in the Community Repository.
pacman -S nodejs
Node.js is available through the ports system.
/usr/ports/www/node
Development versions are also available using ports
cd /usr/ports/www/node-devel/ && make install clean
or packages on FreeBSD
pkg_add -r node-devel
Using a package
Simply download Macintosh Installer.
Using homebrew:
brew install node
Using macports:
port install nodejs
Using a package
Simply download Windows Installer.
Using chocolatey to install Node:
cinst nodejs
or for full install with NPM:
cinst nodejs.install