This would not work for multiple installations. It might not work at all, if someone does not have their th on path. Also, I think there is no need for th either. Using paths.install_bin .. '/luajit' might be better.