install create react app globally code example
Example 1: how to create the rect project
npx create-react-app my-app
cd my-app
npm start
Example 2: how to create react app using yarn
yarn create react-app my-app
Example 3: react app using npm
npx create-react-app app-name
cd app-name
npm start