typescript npm install -g ts-node typescript '@types/node' npx ts-node typescript-file.ts Sources node.js - How to run TypeScript files from command line? - Stack Overflow