npx create react app is using yarn code example
Example 1: Create React App command
npx create-react-app hello-world
cd hello-world && npm start
Example 2: create-react-app use npm
create-react-app my-project --use-npm
npx create-react-app hello-world
cd hello-world && npm start
create-react-app my-project --use-npm