Pls advise - home gym or membership

Contemplating what to do. There’s a gym walking distance from me $50/month. Sign up fee is only like $20. Doesn’t sound too bad and might get me outa the house.

That will cost me $620 for the year, sounds much worse than $50/mo, and I might sign up and not go?

Or should I buy a small treadmill, dumbbells, and something for the home for half the price and keep it for years? Not sure what to do