Lua is primarily used as an embedded language. In order to use it as a standalone language, you will need to install the Lua tool on your machine.
Lua Standalone Install
Here's the information from the official website:
You can also use the platform-specific package managers.
For example,
you can install lua
on Ubuntu using the apt tool:
$ sudo apt install lua5.4
You can do a quick check on the installation before moving on:
$ lua -v
Lua 5.4.4 Copyright (C) 1994-2022 Lua.org, PUC-Rio
What's Next
Now that we have a development environment set up, let's try creating a simple program.
- Next Step: Creating the first program in Lua
C C++ C# Clojure Crystal D Dart Erlang F# Go Haskell Java Javascript Julia Kotlin Python Rust Scala Swift Typescript