Get at least an i3 or quad core AMD, at least 8gb team (16 of you need VMs) and as big an SSD as you can afford. You can skimp on almost everything else.
A Mac mini might be an option, used may be better, if you can upgrade RAM and storage. Newer models are much more limited.
If you have a working computer, less than 5yo, just max the ram, get a 480gb ssd… and do a fresh install of your OS.