tsc node code example Example 1: tsc init tsc --init npx tsc --init Example 2: tsc init $ tsc --init Example 3: create typescript project npx tsc index.ts