install new project react code example Example: react create app npx create-react-app my-app cd my-app npm start