LuaRocks
7.2#22 in package managersFree planFree planAPILinuxmacOSSelf-hosted
Visit| Fact | LuaRocks | vcpkg |
|---|---|---|
| Dependency resolution | Yes | Yes |
| Free plan | Yes | Yes |
| Offline installation | Yes | Yes |
| Package formats | A rock is a zip file containing its rockspec and the files needed to install a module; rocks can be built for specific platforms. | C/C++ libraries |
| Purpose | LuaRocks is a package manager for Lua, and LuaRocks.org hosts rocks and rockspecs for Lua modules. | vcpkg is a C/C++ package manager for acquiring and managing libraries. |
| Security | A 2019 security incident page says LuaRocks.org packages did not have signing and verification at the time of that incident. | The project says most ports build libraries using their original build systems and download source code and tools from their official distribution locations. |
| Support | The official site links to its GitHub issue tracker for reporting issues. | The project lists documentation, a development-team support contact, and community channels including Discord and Slack. |
| Supported platforms | Linux,macOS,Windows,Unix,FreeBSD,Cygwin | Windows,macOS,Linux,Android,iOS |
Lua developers can use LuaRocks to discover, install and manage modules and dependencies. Module authors can also publish rockspecs and package files through LuaRocks.org.
vcpkg suits developers managing C or C++ dependencies across supported platforms, especially projects that need version constraints, caching, or custom registries. It also fits teams using CMake or MSBuild.