$ luarocks install luaohook
DO NOT INSTALL USING THE ABOVE COMMAND. READ BELOW
I recommend you clone the repo, install xmake from xmake.io, and then run xmake from there. The reason for this is because it will automaticaly install any dependencies my project relies on, and it will make it fully cross platform. You can try running the command above, but it will most likely not work.
Versions
Dependencies
lua >= 5.1