For macOS/Linux
echo $NODE_ENV
For Windows (Command Prompt)
echo %NODE_ENV%
Windows (PowerShell)
echo $env:NODE_ENV