react gloabl install code example
Example 1: create react 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