luajit src/main.lua
You may want to use winget
winget install luajit
Open a PowerShell terminal then run (replace with your username):
[System.Environment]::SetEnvironmentVariable("LUA_PATH", "C:/Users/<USER>/scoop/apps/luarocks/current/rocks/share/lua/5.4/?.lua;C:/Users/<USER>/scoop/apps/luarocks/current/rocks/share/lua/5.4/?/init.lua", [System.EnvironmentVariableTarget]::Machine)
The luajit2
and luarocks
packages should be available on Ubuntu.
luarocks install dkjson
luarocks install array
luarocks install rxlua
luarocks install luv
(read below if you are on Windows)
You likely need to run these as sudo
.
Installing luv
requires a x64 VS 2022 developer prompt.
I will eventually try to use https://github.com/ers35/luastatic to package standalone apps
Windows 11
Raspberry Pi 5