create-react-app npm index code example Example: creating react app using npx npx create-react-app my-app cd my-app yarn start