Answers for "set node variable windows"

0

windows launch node with variables

#Powershell
$env:NODE_ENV="production"; node .index.js

#or with NPM

$env:NODE_ENV="production"; npm start

#CMD
set NODE_ENV=production && node .index.js

#or with NPM
setn NODE_ENV=production && npm start
Posted by: Guest on April-15-2021

Code answers related to "set node variable windows"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language