npm creact react app code example Example: create react app npx create-react-app my-app cd my-app npm start