npm init
yarn init
npm i -D typescript
iがinstallの略。-Dでdev dependency
yarn add typescript -D
npx {package}
yarn -s run {package}
yarn -s run tsc --init