Ask coding questions

← Back to all posts
How do I run a file that is nested inside of a folder?
GamerEvalynn (0)

I cloned something from github, but the main.lua file is nested inside of a few folders. How do I make it run the file from inside the folder?

Answered by Wumi4 (497) [earned 5 cycles]
View Answer
Wumi4 (497)

Use shell.

cd to those folders until you found main.lua, then run it using the command lua.