准备工作:
- 下载nodejs (exe
format)(http://nodejs.org/)
- 下载npm(zip
format)(http://nodejs.org/dist/npm/)
开始安装
- Make a clean directory (for example "D:\Program Files\nodejs") and add
that directory to your system‘s
PATH
variable
- Put the downloaded
node.exe
file to the directory you
made
- Unpack the downloaded
npm-xxx
file to the same
directory
- Open cmd
command window in the directory of "D:\Program Files\nodejs",
execute npm install express -g
- Done.
Windows 7 搭建 nodejs、npm、express 环境
原文:http://www.cnblogs.com/RobertC/p/3546674.html