command to create new app in react code example Example: create react app npx create-react-app my-app cd my-app npm start