windows下启动node应用时如何加环境变量

在dos命令行窗口中node

先运行set命令,如: set PORT=3001app

而后再运行node命令: node app.js命令行

相关文章
相关标签/搜索