This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. 首先从官网下载Node.js并安装(http://nodejs.org/) | |
➜ ~ node -v | |
v0.10.28 | |
➜ ~ npm -v | |
1.4.9 | |
2. express安装 | |
➜ ~ sudo npm install -g express-generator | |
版本 | |
➜ ~ express -V (注意:这里的V必须大写) | |
4.2.0 |