redux dependencies code example Example 1: npm install redux and react-redux npm install redux react-redux --save Example 2: redux install npm install redux