Let’s try the sidewalk first. Downsides include the illegality and the possible hassle for pedestrians.
All right, now let’s get onto the street. This is not recommended, particularly going outbound to the west, which is mostly uphill. It’s legal, but pretty scary.
By this time, my lungs were aching for air. Pedaling furiously in 27th gear:
Conclusion: Take the sidewalk. Walk your ride if necessary.
Or go around Russian Hill.
Or go over Russian Hill.
Those are your four choices.
Anyway, four choices. Choose wisely.
NB: Don’t touch anything in the tunnel, as everything is covered in soot.