A tankless heater heats water as it passes, which changes what "installation" means. There is no tank to fill, so the equipment is smaller, but the supply, venting and water quality matter more than they do for a storage unit.
Gas supply is the usual constraint
A tankless unit fires at a much higher input than a storage tank, and the gas line has to deliver that. On older properties the existing piping may be undersized for the appliance, which means the work starts at the meter and the run rather than at the heater.
This is the single most common reason a tankless retrofit turns out to be a bigger job than expected, and it is decided by measuring, not by reading the brochure.
Venting and condensate
Condensing tankless units produce acidic condensate that has to be neutralised and routed to a drain or an exterior location. Non-condensing units vent differently. Either way, the vent length, termination and clearance rules apply, and a closet that housed a tank may not meet them.
Water quality and descaling
Scale is the tankless unit's main enemy. In hard water, the heat exchanger accumulates mineral deposits, which shows up first as reduced temperature at high flow and later as error codes. Flushing the exchanger with a descaling solution on a sensible interval is the maintenance that preserves output.
What repair looks like
Error codes are the starting point, not the diagnosis: a code can point at flow, flame, exhaust or a sensor. Scale, a dirty inlet filter, a failed flow sensor, a gas pressure problem and a blocked condensate line produce overlapping symptoms.
The heat exchanger is the expensive component. Where it has been damaged by freezing or severe scale, the economics can favour replacement rather than repair.
Retrofit or new installation
A retrofit keeps the water, gas and venting routes where they are where possible, which is cheaper and less invasive. A new installation can plan the routes properly from the start. Which applies depends on the property, and the honest answer often arrives after looking at the mechanical space.
For a storage unit at the end of its life, the replacement page compares the two approaches directly.