npx create-react-app app-name --template typescript
# or using yarn
yarn create react-app app-name --template typescript
npm install --save typescript @types/node @types/react @types/react-dom @types/jest
# or
yarn add typescript @types/node @types/react @types/react-dom @types/jest
npx create-react-app my-app --template typescript
/*if done correctly, many of your files should now have extension .tsx instead*/
npx create-react-app app-name --template typescript
// or using yarn
yarn create react-app app-name --template typescript
yarn add typescript @types/node @types/react @types/react-dom @types/jest
yarn create react-app my-app --template typescript
npx create-react-app todo-app --template typescript