Before you buy anything
A few things worth knowing first
Try a gym first if you're not certain you'll train at home. A $40/month membership gives you every machine, every weight, and no assembly — and most people don't know what they actually need until they've trained for a few months. Home gym equipment is expensive and hard to resell. Once you know you want a barbell in your living space, the investment makes sense. A lot of home-gym setups become expensive clothing racks.
Pick a program before you buy anything. The single biggest mistake beginners make is collecting equipment without a system. Starting Strength, StrongLifts 5x5, and GZCLP are all free, time-tested, and will tell you exactly what you actually need. The program determines the gear, not the other way around — buy after you know what you'll be lifting.
Decide early: dumbbell path or barbell path. Adjustable dumbbells are compact, versatile, and right for most people who want to get stronger. Barbells unlock heavier compound lifts — squats, deadlifts, bench press — but require a rack, more space, and significantly more money upfront. Most beginners start with dumbbells and add a barbell setup after six months once they know they're committed.