A lightweight, non-GUI, distribution such as DietPi is recommended. Raspbian Lite is a bit easier to get started with and is a good second choice.

https://dietpi.com/

https://downloads.raspberrypi.org/raspbian_lite_latest