Compressors having multi-speed gearboxes are disclosed. The apparatus comprises: a fluid channel to convey a fluid, a compressor fluidly coupled to the fluid channel, a gearbox operatively coupled to the compressor, the gearbox to control the compressor using a first gear ratio and a second gear ratio different from the first gear ratio to vary a flow rate of fluid in the fluid channel, and clutches to vary the gearbox between the first gear ratio and the second gear ratio.