1npx create-react-app app-name --template typescript
2# or using yarn
3yarn create react-app app-name --template typescript
1npx create-react-app my-app --template typescript
2
3# or
4
5yarn create react-app my-app --template typescript
1npx create-react-app my-app --template typescript
2
3# or
4yarn create react-app my-app --template typescript
1npm install --save typescript @types/node @types/react @types/react-dom @types/jest
2# or
3yarn add typescript @types/node @types/react @types/react-dom @types/jest
1npm install --save typescript @types/node @types/react @types/react-dom @types/jest