Pull the baseboards off the wall, mount the cabinets, then cut the baseboards to fit & reinstall. Use a good chop saw.
I would also recommend doing it this way if you can remove the baseboards easily and not cause any damage to the wall by pulling them off.
If you remove the baseboards, then you can position your new cabinets and move them around to exactly where you want them, and then put the baseboards back on. By doing it this way, if you decide that you want to move the cabinets an inch this way or a foot that way, you can do all of that before you put the baseboards back on, and only have to cut them once.
If you leave them installed, and you cut them, put the cabinets in place, and then decide that you want them a foot over that way, well, then you will have to take them off anyway because now they will be cut in the wrong places.
Remove the baseboards, put in your cabinets, live with their placement for a few days, and see if that is where you want them. Once you live with the cabinets in place for awhile, and like where they are, put the baseboards back up around the cabinets.
Jim