Skip to content
← Back to Community
Run Luvit in Replit 🌙
Profile icon
lajbel

Yeah, hi, I have seen that nobody has uploaded a tutorial on this, even if it is not very complicated, how to use Luvit in Replit...

First, install in your repl (use the shell) the Luvit unix script

curl -L https://github.com/luvit/lit/raw/master/get-lit.sh | sh

Now, this import the 3 luvit binaries in root, we will put it in a .bin/ folder.

We will also give you some integration using the .replit file. Let's set the run button:

run="bin/luvit main.lua" # you can replace main.lua for your main file

...And that's it! we can use Luvit in Replit

example

Voters
Profile icon
SharkAby
Profile icon
desecaw13
Profile icon
itsdawildshadow
Profile icon
samfierycreeper
Profile icon
STCollier
Profile icon
lajbel
Comments
hotnewtop
Profile icon
Yaumama

This is amazing! It really helped me make a lua discord bot without having to download anything!

Profile icon
lajbel

@Yaumama good good!

Profile icon
tbmale

"...we will put it in a .bin/ folder" should read "we will put it in a ./bin/ folder"

Profile icon
samfierycreeper

Yes. Thank you for posting a Lua tutorial!