installing react js using npm code example Example 1: npm install react npm i react Example 2: install react app using npm npx create-react-app umusic