1、安装2、检查是否安装完成3、编译使用 1、安装npm i typescript -gnpm i ts-node -g 2、检查是否安装完成tsc --versiontsc helloworld.ts 3、编译使用//1. tsc编译tsc hello.ts //2. ts-nodets-node hello.ts;