Is there a way to get by without going to the gym?
The whole idea is loathsome to some people including but I expect not limited to me that think a sentient being investing in its meats is infeasible. Boring, too.
Do whatever exercise works for you. For some it'll be lifting weights in the gym, for others it's something else. I've tried the gym but it didn't really work for me. I enjoy mountain biking, running and for a long time went swimming every lunchtime. Those activities just worked better for me. Someone was suggesting climbing which is another good activity if you want to involve your mind as well as your body.
You'll still get the benefit of being away from your work for a short while, doing something physical and focussing on improving at something else.
Just a few days ago I read a book called "Convict Conditioning". In essence, it's about bodyweight exersices. You won't need a gym, but you'll need a place to hang from.
Copying a part of a book review:
Convict Conditioning is a book of bodyweight only training. It utilizes six training exercises, each having ten different variations. The six exercises are called "the Big Six", and they are one-arm pushup, one legged squat (pistol squat), one-arm pullup, hanging straight leg raise, stand-to-stand bridge, and one-arm handstand pushup. You don't start with these exercises, but rather easier versions, and they represent the ultimate goal of the workout.
The workout is structured so that each exercise of the Big Six is divided into ten steps, the final step being the exercises listed earlier. As a general rule, the first steps are the easiest and you move gradually to more challenging variations. For example, you start the pushups series with standing pushups against the wall, and progress from there into incline pushups against a table, then kneeling pushpus, and so on until you reach the one-arm pushup.
Working out at home is a possible answer then. I regularly use and therefore highly recommend the simplefit[1] routines.
It consists of 3 different "days" (endurance, strength and judgement) which all consist of different combinations of pull-ups, push-ups and squats.
All you need equipment-wise is a pull-up bar. I have a wall-mounted pull-up bar which is very stable. Maybe a cheap one for the doorframe will do the trick as well.
simplefit consists of progressively harder levels[2]. If you manage to finish "day 3" (judgement) in under 5 minutes, you go to the next level.
EDIT: forgot to mention that the simplefit exercises are done with bodyweight only. Also, they are laid out in a way that will keep your heart pumping and thus you will get fit pretty fast and in a time-efficient manner. No routine takes longer than 20 minutes. In fact, only "day 1" is ultimately bound by time (20 mins), the others are to be finished "as fast as you safely can". This is key for me and the reason I stuck to it over many weeks now. It doesn't take long and I still see results.
I get you. I used to think it's boring too. No wait, I still think it's boring.
I mean, you're just standing/sitting there, pumping weights going through the repetitive movements. It's absolutely mindnumbing, boring, and you can't help but going through every single other thing you'd rather be doing with your time.
Right?
My solution is audiobooks.
I usually pick a book that's already a favourite, that I've read once or twice (because it's different than reading, if your attention drifts for a moment, you miss a bit--so pick a book you already know but enjoy re-reading so you don't have to rewind all the time).
Also get some good earphones because sometimes the music in the gym can be loud. For running I have those things that clip behind your ear, but in the gym those plugs that actually go in your ear might be best for shutting out the music (get cheap ones from a dollar store/K-mart type of place, you're not getting them for sound quality and I wouldn't spend much on something that's going to get crudded with earwax real quick).
You can also try podcasts. I find that because they're usually in a bit more loose/radio DJ/interview style, it's no problem if you miss the occasional bit, because people talk quite redundantly in general, unlike a book where every sentence counts.
Go to Home Depot, buy a couple bags of sand. I wrap mine in duct tape to keep them from exploding if/when I drop them. Lifting and throwing bags of sand is a great workout because the sand it always shifting. It helps build stability and real-world strength muscles, not show-room muscles. Grab a duffel bag and throw in a couple sandbags. Put it on your shoulders and trudge up and down the stairs until you can't anymore.
Really easy to do at home and cheap. By the time your strength outgrows the sandbags, you should be motivated enough to invest in free weights or get to the gym. Or not, but you'll still have the sandbags and the muscles that result.
I decided to do a small set of bench press and basic weight lifting in my basement at 6:30am monday, wednesday and friday: the gym, i go once a week during winter to work the cardiac system with bike/running (things to help me go there are the pay per visit fees - no yearly subscription AND doing intervals, and its next to my work place). That's my Minimum Viable "gym" schedule - i do other sports as well but those aren't routine
You can do it at home. For me and other hardgainers it's actually recommended that you do short, intense workouts, where you can scream and gasp without worrying that you are being ridiculous. It takes up very little time and the feeling is incredible. If you need to lose weight, i would recommend biking.
Think about it as a way to improve blood circulation to your most valuable organ: your brain.
The whole idea is loathsome to some people including but I expect not limited to me that think a sentient being investing in its meats is infeasible. Boring, too.