create-react-app code code example
Example 1: create react app
npx create-react-app my-app
cd my-app
npm start
Example 2: react create app
yarn create react-app my-app
# or
npx create-react-app my-app
# or
npm init react-app my-app
cd my-app
yarn start # or npm start
Example 3: create-react-app use npm
create-react-app my-project --use-npm