create-react-app directory code example
Example 1: create react app with npm not yarn
npx create-react-app my-app --use-npm
Example 2: create a new project with create-react-app
npx create-react-app project-name
npx create-react-app my-app --use-npm
npx create-react-app project-name