create-react-app use npm code example
Example 1: npm create react app
npx create-react-app app-name
cd app-name
npm start
Example 2: create a new project with create-react-app
npx create-react-app project-name
Example 3: create-react-app use npm
create-react-app my-project --use-npm