Thats okay! We'll get you pointed in the right direction.
More simply put, Node.js is an http server built to run quickly and efficiently while allowing you to use the same language on both the frontend and the backend.
Node.js will install on most major Operating systems. MacOSX, many flavors of Linux, and Windows are supported.
Now, lets take a look at what OS you have. Please choose from the following for instructions on setting up Node.js:
I have Mac OSX
I have Linux
I have Windows
Using a package:
Simply download Macintosh Installer.
brew install node
port install nodejs
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
nodejs. You'll need to symlink
/usr/bin/nodejs or you could uninstall the Amateur Packet Radio Node Program to avoid that conflict.
sudo yum install npm
Node.js and npm are available from the Fedora Extra Packages for Enterprise Linux (EPEL) testing 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 --enablerepo=epel-testing install npm'
Node.js is available in the Community Repository.
pacman -S nodejs
Node.js is available in official gentoo portage tree. You have to unmask it.
# emerge -aqv --autounmask-write nodejs # etc-update # emerge -aqv nodejs
For Debian Squeeze, your best bet is to compile node by yourself (as
apt-get install python g++ make mkdir ~/nodejs && cd $_ wget -N http://nodejs.org/dist/node-latest.tar.gz tar xzvf node-latest.tar.gz && cd `ls -rd node-v*` ./configure make install
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 is available through the ports system.
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 Windows Installer.
or for full install with NPM:
Now that Node.js is installed on your system, we can move on to Sails.js.
Click here to continue.