How create bootable High Sierra installer under Big Sur

Since High Sierra is too old for my iMac, I cannot figure out how to execute the createinstallmedia command to create a High Sierra boot drive.

How can I get a version of createinstallmedia that will work? It used to have a --applicationpath which is what I need.