Replacement for table saw in a small home

I recently sold of a table saw that I wasn’t using mainly because I lacked room to store and use it.

If I want to do some DIY small building and remodeling projects, what’s a good alternative?

Example of projects I have in mind: cutting down parts of a kit cabinet that doesn’t fit in the space; building a small credenza; possibly cutting lumber for framing a shed.