Step by step instructions to install NodeJS on Windows

原文链接

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.
    2tar xvf node-v0.4.12.tar.gz
    3cd node-v0.4.12/
    4./configure
    5make
    6make install
  8. If all goes well, then you should see NodeJS’s version when you type the following command.
    1node --version
    2v0.4.12


Update:

For Windows 7 & Windows Vista users, please run rebaseall with -v option as suggested in this comment.
http://boxysystems.com/index.php/step-by-step-instructions-to-install-nodejs-on-windows/comment-page-1/#comment-617
Thanks Vladimir for your suggestion :)

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


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值