create a brand new react application code example
Example 1: create-react-app
npx create-react-app my-app
cd my-app
npm start
Example 2: react app using npm
npx create-react-app app-name
cd app-name
npm start
npx create-react-app my-app
cd my-app
npm start
npx create-react-app app-name
cd app-name
npm start