steps to install typescript and a ts file npm install typescript --save-dev npx tsc --init npx tsc getMemory.ts node getMemory.js