How difficult is it to change a slave cylinder on 1997 Chevrolet Cavalier

My slave cylinder hydraulic line broke at the transmission above the bleeder screw and i was just going to buy a new line but the fitting that broke is on the slave cylinder itself do i need to pull the transmission to replace everything or just find a fitting?

Asked by for the 1997 Chevrolet Cavalier