how to install react with typescript

Shell
npx create-react-app my-app --template typescript

# or
yarn create react-app my-app --template typescriptnpx create-react-app my-app --template typescript
# or #
yarn create react-app my-app --template typescriptCopynpx create-react-app my-app --template typescriptcreate-react-app app-name --scripts-version=react-scripts-tsnpx create-react-app my-app --template typescript# oryarn create react-app my-app --template typescriptCopy
Source

Also in Shell: