Answers for "windows launch node with variables"

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 "windows launch node with variables"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language