You can dress however you like for the home gym! There are no dress codes, and you should wear whatever you feel most comfortable in. Of course, if you're working out in an open garage or with big windows the neighbors can see in, it's probably advisable to at least wear pants; otherwise, they'll end up with a free show!