Windows 7 搭建 nodejs、npm、express 环境
准备工作:
开始安装
- 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.