1.下载安装脚手架 npm i express-generator -g 2.生成项目 express --no-view testserver 3.进入项目,下载依赖 cd testserver/ npm i 4.启动服务端 npm start