npm create-react-app global code example
Example 1: create react app install
RUN IN CMD
npm install -g create-react-app
Example 2: install react yarn
yarn create react-app my-appCopied
RUN IN CMD
npm install -g create-react-app
yarn create react-app my-appCopied