Do I need to replace all fuel injectors at once?

Not always - if one injector has failed due to a specific cause such as contaminated fuel or a wiring fault, replacing only the faulty injector is reasonable. However if the injectors are high mileage and one has failed due to wear, the others are likely in similar condition. Replacing all injectors at the same time saves labour and reduces the risk of repeat failures on a vehicle you plan to keep long term.