add it to the new cli project react code example
Example 1: command to create react app
npx create-react-app my-app
cd my-app
npm start
Example 2: create react app
npx create-react-app my-app // my-app or Enter Your Project name
cd my-app // To enter your creating app by command cd
npm start // To start your app in default browser