1.express在4.x版本后将命令行工具独立出来,如果还需要在4.x版本后使用express命令,需要安装express-generator。
npm install express -g
npm install express-generator -g