The alternator keeps the battery charged and powers everything electrical while the engine runs. When it fails, the car runs on battery alone until the battery is drained, which usually happens mid-drive with the dash lighting up like a Christmas tree. Then the car dies and it won't restart without a jump, and a jump only lasts a few miles.
That makes alternator failure a classic roadside and driveway call. The car can't reliably get to a shop, so the shop needs to come to the car. Mobile alternator replacement is a routine job for a mobile mechanic: a belt, a few bolts, a couple of connectors and a test afterward.
Mobile-Car-Repair.xyz has a local mobile mechanic in 250 cities who does charging-system work daily. Reach out through your city page and skip the tow.