set environment variables in powershell 发表于 2017-09-11 set environment variables1$env:NODE_ENV='cnTest'; a powershell script file(.ps1)123"cnTest server";$env:NODE_ENV='cnTest'; node server.js;