您的位置:首页 > Web前端 > Node.js

Step by step instructions to install NodeJS on Windows

2011-10-20 15:05 776 查看
原文链接

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)

Double click Cygwin’s
setup.exe and continue till you get to select packages window
Select Python




Select Make




Select G++




Select wget(not really required but, good to have for downloading archives & stuffs


)




Click next and complete the installation
From cygwin type the following commands. Note: At the time of this writing v0.2.0 is the current NodeJS version.

1
wget http://nodejs.org/dist/node-v0.4.12.[/code]
tar
.gz
2
tar
xvf node-v0.4.12.
tar
.gz
3
cd
node-v0.4.12/
4
./configure
5
make
6
make
install
If all goes well, then you should see NodeJS’s version when you type the following command.

1
node --version
2
v0.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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: