1.npm install -g express //安装express 2.npm install -g express-generator //命令行工具 , 想要在 cmd 中使用 express --version 的话,需要运行 此代码