You can attach shelves to a garage wall using brackets, screws, and wall anchors. First, use a drill to create pilot holes in the wall for the screws. Next, insert the wall anchors into the pilot holes. Finally, screw the brackets into the wall anchors.