How do I perform dark frame subtraction on RAW files?

I was using darktable to play around with some Milky Way photos I took last week (first time starter!), and couldn’t seem to find this feature. Googling around leads me here: https://redmine.darktable.org/issues/8555

Is there anyway to achieve this with darktable? If not, any other software to do this? RawTherapee? (Although darktable is more inside my workflow now so it may hurt switching gear a bit…)

It seems RT does exactly that:

But I never did it, so I don’t know what’s the workflow in RT.

if you use the search you will find a lot of threads for astro photography on the forum. those might help you.

http://rawpedia.rawtherapee.com/Dark-Frame