install react js in npx code example Example: creating react app using npx npx create-react-app my-app cd my-app yarn start