For routine operations on e.g. a submarine, https://www.naval-technology.com/contractors/materials/atmos...
As other people have mentioned, this is a great introduction to the topic: https://www.youtube.com/watch?v=g3Ud6mHdhlQ
At least, that's how the CO2-filtering device described in The Martian worked. I'm not sure if anyone uses that system in real life. Apparently on the ISS they use filters made of zeolite[1]. From that article though it didn't say if the filters were reusable. If they are, maybe just using filters is good enough for quite a long time.
[1] https://www.syfy.com/syfy-wire/nasa-launched-an-upgraded-co2...
https://en.wikipedia.org/wiki/Ethanolamine#Gas_stream_scrubb...
On the other hand these units are usually not small or portable. Here is a press release from a manufacturer: https://www.naval-technology.com/contractors/materials/atmos...
https://www.eni.com/en-IT/scientific-research/space-free-co2...