Do I need a server rack for a homelab?

Only once you have several rack-mount devices. A shelf holds a mini PC, a switch and a NAS perfectly well. Racks earn their place when cable management and airflow start costing you time. Open frame racks are cheaper and cool better; enclosed cabinets are quieter and keep dust and pets out.

More in Racks, Cases and Physical Setup