How to install and run Lua in Windows

preview_player
Показать описание
The hardest part of this is probably the download! The website makes it somewhat confusing when trying to download the Lua binaries... After the download however, it's simply moving Lua to a desired location, then adding it to your PATH, so you can execute Lua from the console/terminal :)

Subscribe for more videos!

Group Chats:

You can contact me on:

Any suggestions? Leave it in the comment section or contact me somewhere else!

Odysee Links:

Thank you for watching!

#stevesteacher #lua #howto #windows
Рекомендации по теме
Комментарии
Автор

Frequently Asked Questions (FAQs)! Please read if you have any questions!

Q. I don't see a .txt when I rename the file
A. You most likely don't have "Show file extensions" enabled. Once you open up the file in VSCode (or your preffered code editor), you should be able to remove the .txt.

Q. I can't remove the .txt in my code editor
A. Enable "Show file extensions' by clicking on the "View" tab, at the very top of your Windows file explorer and enable the option

Q. Does a different version of Lua change how Lua works?
A. No and yes. Lua 5.x will have different functions than Lua 4.x, 3.x etc. However, for this tutorial, what version of Lua you use does not matter

Q. Will you make more tutorials?
A. I already have!

Q. When I run "lua main.lua" I don't get any output
A. Remember to *save* your file before you run it

Q. I get "Command not recognized as an internal or external command"
A. Make sure Lua is in your path, and make sure you reference your Lua version, watch 3:35 again

Q. What IDE is best for Lua?
A. The better question is, what IDE/Text Editor is best for YOU. I like VSCode, you might too, or you might like Sublime Text or ZeroBrane

Q. Is it worth learning Lua in 2023?
A. Yes, yes it is :)

Q. Can I use Lua for Roblox?
A. Roblox uses Luau (which is a version of Lua), most Lua is valid Luau code, so yes ;)

Q. My question isn't in the FAQs
A. Post a new comment asking your question, and I will most likely respond and help ;) -- don't reply your question to this comment, I might not receive a notification :(

Stevesteacher
Автор

Literally the only helpful tutorial I found in hours for getting past the initial issue I was facing, big thanks. Everyone else just said "just look it up" without ever specifying what "it" is.

BevvRatBites
Автор

Thank you! Lua seems like a good language to learn, but... installing it is like fighting the tutorial boss in a game you don't know how to play before the tutorial.

Alex-cqzr
Автор

I so appreciate the beginner-friendly pace and detailed explanations for each step. Found this much easier to follow than I had expected! Thank you!

tigerslovepeppr
Автор

Thank you, I am an Iranian, and there was no such tutorial on YouTube in Iran, and your video was the only English tutorial that worked for me. ❤

savage_
Автор

THANK YOU SO MUCH. I've been trying to figure out how to use Lua for over a week now and was getting so frustrated with "beginner" videos that use language and shortcuts I didn't understand. You explained it all perfectly. Thank you Thank you Thank you

maeby
Автор

if you are having an issue finding the file extensions go to your files, click view, then click 'file name extensions' it will show the txt file link. then you can delete it! thanks for this video!

DM_Knightmare
Автор

Thank you SO much, ive seen several videos, tutorials websites, etc. and not one of them has been able to explain it well enough for me to understand. You have ended my weeklong struggle 😊

smolprotobean
Автор

Extremely good tutorial! I was hesitant to use binary, but I know self-compiling is unreasonable.

leonardodefarias
Автор

thank you for walking through the download! Finding the file was nearly the hardest part lol

RickDrail
Автор

Thanks a lot, all this was super confusing I just wanted to switch from 5.1 to the current release but this video made it 100x easier 👍👍

buysnoah
Автор

6:58 when i click "Open PowerShell window here" it closes almost immidiately, do you know what could be causing that

oreoz
Автор

Thx for the video. I'm brazilian and i had no idea Lua was made by brazilians until i saw "PUC-Rio" in the prompt haha. It's a famous university in Rio de Janeiro. Just saw the logo and now it makes sense for it to be a moon, as "Lua" means moon in portuguese.

Walond-pac
Автор

the "lua.exe" doesnt appear for me after downloading 5.3.6

ultra-aa
Автор

My notepad refused to open why tho??? Pls help

HaydarOkla
Автор

can i open it with vs code and use lua in vs code?

UltimateGamer-slkx
Автор

For some reason it says syntax error near "am" at 7:50 for some reason Pls help !!!

boxloid
Автор

Thank you so much man! I struggled at the last bit but I made it through! Thank you for making this

daybrothers
Автор

theytold me when i type lua53 main.lua then enter that there is no such file or directory what i need to do?

Af.aL-kqwlgsk
Автор

it says i cannot edit 4:18 i dont know what to do

junobrodin