Employee was performing a preshift inspection on the excavator. As he was walking back to cab on the catwalk, he grabbed the cab door. The door came unlocked, swung out and knocked him off the catwalk. We have begun to add handholds to the top of the cab.