For a machine, either daisy chain it, or put it in a mesh bag, then use a soft laundry soap like Woolite. Use warm water, not hot.
By hand, as you say, in a bathtub or my preference, in a utility sink (washing by hand is a long, physical process, and doing it on your knees sux :)). Warm...