pnpm create react-app react-app
Using the following command, you can create a typescript app base on react app with pnpm.
pnpm create react-app react-app --template typescript
You can also pass on additional options as a flag with create react app to check other information about cli.
-V, --versionoutput the current version of creating react-app
--verboseprint additional logs in your terminal
--infoprint environment debug info
--scripts-versionuse a non-standard version of react-scripts
--templatespecify a template for the created project
-h, --helpoutput usage information
You can check the version of create react app.
Check the system information like CPU, OS, PNM, YARN, and NPM.
Read about the cli command option.