npx create-react-app directory code example
Example 1: react create app
npx create-react-app my-app
cd my-app
npm start
Example 2: create-react-app use npm
create-react-app my-project --use-npm
npx create-react-app my-app
cd my-app
npm start
create-react-app my-project --use-npm