Forge Environment variables

I want to use node.js environment variable concept as mentioned in Node.js — Node.js, the difference between development and production or want to use dotenv library. Is this possible ? I tried my hands but getting undefined error when deploying and running the code in jira cloud.

Dont want to use forge variable set command to set the env variables.

I belive this is what you’re looking for: https://developer.atlassian.com/platform/forge/environments-and-versions/#environment-variables