Open a presentation, then make sure the ruler at the top of the slide is open.
If you don’t see the ruler, click select the text you want to format.
In the Format Adjust line spacing in Keynote on Mac