command to initialize react app code example Example: npm create react app npx create-react-app app-name cd app-name npm start