how install react npm code example Example 1: npm install react npm i react Example 2: npm start react npx create-react-app mon-app cd mon-app npm start