First download it and get DSLua.nds (0.7) and the scripts folder. Go to
http://chishm.drunkencoders.com/DLDI/ and follow the instructions of how to patch DSLua.nds with DLDI. Then put the scripts folder on the root of you memory card, and put DSLua.nds somewhere on it and run DSLua.