LuaRocks.org had a security incident in September 2026. Read the incident report.

luashell

This is a small Lua module to help write what would be shell scripts in Lua.

$ luarocks install luashell

This is a small Lua module to help write what would be shell scripts in Lua.

It provides easy ways to run commands and check for success, get values of
environment variables with optional default value if not set, capture output
of commands, run pipelines and run POSIX tests (e.g. if file exists,
if directory exists, etc.).

Versions

0.4-16 years ago291 downloads
0.3-16 years ago44 downloads
0.2-16 years ago35 downloads
0.1-16 years ago37 downloads

Dependencies

lua >= 5.3, < 5.5
luaposix >= 35.0-1

Dependency for

themoonlitknot, tulip, tulip-cli

Manifests