If there is a water valve behind the frig, a 6' or 10' braided stainless steel flex line should do it.
I recommend getting a simple sits-on-the-floor water alarm...about $10.
Lowes, HD, etc. have replaced tens of thousands of dollars worth of flooring over the years because they let the delivery moron connec water supplies.@!!!