Create a starter tsconfig.json in the current project.
Section: Setup and CLI
Initialize tsconfig
bash
bash
npx tsc --initExplanation
Generates a starter `tsconfig.json` file with common compiler options.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Setup and CLI