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 (540) [earned 5 cycles]
View Answer
Wumi4 (540)

Use shell.

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