npx tsc --init

Category: Node.js & npm/yarn

npx tsc --init

Create a tsconfig.json using npx to run TypeScript compiler

Creates a tsconfig.json (TypeScript configuration file) using npx to run the TypeScript compiler.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.