Make a ledger board to fasten to the existing wall and support the upper end of the lean to roof.
How to install a metal roof on a lean to shed.
Measure the width of the outside wall and cut the board with a circular saw to the same length.
Draw a right angled triangle on a piece of paper that shows the length of the roof and the planned height of the opening.
Be sure the larger edge is laid so that the small edge of the next panel will overlap it.
Build the roof as normal with the trim felt paper and metal flashing.
Lay the new metal roof right on top of an old roof or remove the old one first.
You might have to stagger the metal and cut one or both outside edges to get the correct overall width.
Use a 2 by 4 inch board for a short roof up to about 8 feet a 2 by 6 for a longer one.
Then trim all edges of the roof with metal trim made for that purpose.
Compute the depth of the shed by taking the square root of the difference.
Install the roofing screws vertically along each rib in the panel.
Align the first metal roofing panel so that it overlaps the edging by 1 2 to 3 4 of an inch and is square to the roof line.