VR: Reach for a ledge, wall, or hair. Hold grip and pull your hand down to climb. Two hands, twice the stick.
Desktop: WASD + mouse to move. Tap Space to climb the next nearby ledge, or jump. Hold click / E to stick; right click uses your other hand.