Officially, you cannot. DSiWare titles are encrypted and bound to the console's internal NAND; the DSi Shop (closed 2017) was the only legitimate source.
Best path today: A used 3DS/2DS with CFW (Luma3DS) plays DS, DSiWare, and 3DS games from SD card reliably and safely.