# To force the use of a specific tsconfig.json, use the TS_NODE_PROJECT environment variable TS_NODE_PROJECT="path/to/tsconfig.json" node --loader ts-node/esm ./my-script.ts