Buy the flue pipe you want to install. Purchase double-wall or triple-wall pipe for a wood stove. This type of pipe has a second or third pipe running along the outside as shielding from the amount of heat that can pass through it. Have enough pipe so it extends higher than any other pipe or vent in the roof.
Run vertical pipe up through the ceiling and roof. Cut a framing hole at least 10 inches in diameter with a jigsaw tool. Check the area where you will install the flue pipe. Pull away insulation or install an insulation shield to keep the area clear around the pipe.
Keep flue pipe as straight as possible for horizontal runs. Install no more than two elbow pipes at 45 degree angles if running the pipe through a chimney stack. Place vent support straps along the pipe every 8 feet if it's more than 25 feet long.
Screw three sheet metal screws to connect the pipe sections, overlapping at least 2inches along the seams. Install a flue collar where the pipe connects to the stove. Apply fireproof sealant. Attach a chimney pot or rain stopper cap on top of the pipe to prevent rain from entering.