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