Read environment variables in Node.js August 30, 2022 by Tarik process.env.ENV_VARIABLE Where ENV_VARIABLE is the name of the variable you wish to access. See Node.js docs for process.env.