Note that it's massively more expensive in the US than other nations due to paperwork and regulations. But even there it costs about the same as the low end of nuclear costs per KWh.
Adding it when building the home in the first place eliminates much of the cost and danger since you don't double up on a lot of things.