install react router dom in terminal code example Example: install react router dom and save $ npm install --save react-router-dom