CRA npm code example
Example 1: how to create react app using yarn
yarn create react-app my-app
Example 2: create-react-app npm yarn
to override yarn
npx create-react-app my-app --use-npm
Example 3: npm create react app
npx --ignore-existing create-react-app .