Update 10/05/2011: If you are installing on Windows 7 64 bit, please read this comment. Thanks idealogue!
Update 09/20/2011: I was able to successfully install the latest NodeJS stable version (v0.4.12) so, I am updating these instructions to reflect that.
If you are planning on upgrading NodeJS from an older version to a newer one, just follow from Step 7.

I just had NodeJS successfully installed on Windows XP using Cygwin and thought this might be of use to someone who wants to do the same.

Pre-requisites: Cygwin with Python & some additional packages (we’ll go over that in a bit)

  1. Double click Cygwin’s setup.exe and continue till you get to select packages window
  2. Select Python
  3. Select Make
  4. Select G++
  5. Select wget(not really required but, good to have for downloading archives & stuffs :))
  6. Click next and complete the installation
  7. From cygwin type the following commands. Note: At the time of this writing v0.2.0 is the current NodeJS version.

    			wget http://nodejs.org/dist/node-v0.4.12.tar.gz 
    			tar xvf node-v0.4.12.tar.gz
    			cd node-v0.4.12/
    			make install
  8. If all goes well, then you should see NodeJS’s version when you type the following command.

    		node --version


For Windows 7 & Windows Vista users, please run rebaseall with -v option as suggested in this comment.
Thanks Vladimir for your suggestion :)

Now its time to crack some code to your heart’s desire :)

53 thoughts on “Step by step instructions to install NodeJS on Windows

  1. I’m getting this error

    $ ./configure make make install
    Checking for program g++ or c++ : /usr/bin/g++
    Checking for program cpp : /usr/bin/cpp
    Checking for program ar : /usr/bin/ar
    Checking for program ranlib : /usr/bin/ranlib
    Checking for g++ : ok
    Checking for program gcc or cc : /usr/bin/gcc
    0 [main] python2.6 932 child_info_fork::abort: address space needed by ‘fc ntl.dll’ (0x360000) is already occupied
    /home/Owner/node-v0.4.12/wscript:234: error: could not configure a c compiler!

  2. please, if you read this post Note the Date.
    Today, January 27 2012 is easier to do the Manual Installation recommended on node.js on the official Github page.
    just download files, and extract. forget cygwin.

    thanks to the people like Siddique who helps us, but this is old.

    I wish google only returned 1year old results, wouldn´t you?
    We should build it

  3. Pingback: Einstieg in Node.js | Norbert Eder

Leave a reply

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>