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