install react in your project code example Example: react.js installation npx create-react-app my-app cd my-app npm start