入口文件注意项 注意, 在bin/index.js入口文件第一行,要加入 #!/usr/bin/env node,否则node 自定义命令行无法运行。 运行命令 npm install wtyjsj -g 全局安装脚手架 wtyjsj init name, name 为需要创建的文件夹名字