Windows 7 搭建 nodejs、npm、express 环境

准备工作:

  1. 下载nodejs (exe format)(http://nodejs.org/)
  2. 下载npm(zip format)(http://nodejs.org/dist/npm/)

开始安装

  1. Make a clean directory (for example "D:\Program Files\nodejs") and add that directory to your system's PATH variable
  2. Put the downloaded node.exe file to the directory you made
  3. Unpack the downloaded npm-xxx file to the same directory
  4. Open cmd command window in the directory  of  "D:\Program Files\nodejs", execute npm install express -g
  5. Done.

posted on 2014-02-12 21:48  RobertC  阅读(310)  评论(0编辑  收藏  举报

导航