Windows 7 搭建 nodejs、npm、express 环境
准备工作:
- 下载nodejs (exe format)(http://nodejs.org/)
- 下载npm(zip format)(http://nodejs.org/dist/npm/)
开始安装
- Make a clean directory (for example "D:Program Files
odejs") 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
odejs", execute npm install express -g
- Done.
原文地址:https://www.cnblogs.com/RobertC/p/3546674.html