npm i g create-react-app code example
Example 1: create react app install
RUN IN CMD
npm install -g create-react-app
Example 2: npm create react app
npx create-react-app app-name
cd app-name
npm start
Example 3: creating react app using npx
npx create-react-app my-app
cd my-app
yarn start