Actually, a Laptop is quite nice for running Home Assistant as it has built-in UPS.
Follow the official docs here. Also here’s a good overview of the different install methods.