Skip to content

Instantly share code, notes, and snippets.

@samuelchanx
Created November 13, 2024 08:21
Show Gist options
  • Select an option

  • Save samuelchanx/130d538cb29ee6966c5c60e374364dd6 to your computer and use it in GitHub Desktop.

Select an option

Save samuelchanx/130d538cb29ee6966c5c60e374364dd6 to your computer and use it in GitHub Desktop.
Typescript #ts #typescript run command with dotenv file

How to run

  • ts-node -r dotenv/config xxx.ts dotenv_config_path=../../../.env.staging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment