Wall cabinets in a garage usually sit above a bench or along one side wall. Depth matters more than width. A deep box above a bench blocks your hand when you reach for a drill, so a shallower depth often works better for small parts, spray cans and cleaning supplies.
Custom cabinets for a garage wall are planned from the same measurements as any other run. Plan the wall units around the items you grab most. Keep the heaviest tools low and the seasonal items higher.
Hanging on block and stud walls
If your garage wall is concrete block, the cabinets hang on rails or anchors set into the block. If the wall is framed with studs, the installer fastens the rail into the framing. Either way, the anchor pattern is checked before the cabinets are built, so the hardware is not guessed at on installation day.