how to create a new react app with npm code example Example: npm create react app npx create-react-app app-name cd app-name npm start