npm i react redux toolkit code example Example: install redux toolkit npm install @reduxjs/toolkit react-redux