Windows Installation
Like this, meow
These are the Windows installation
MacOS is a supplement:
Terminal 1 Open
2 input
curl -R -O http://www.lua.org/ftp/lua-5.3.5.tar.gz
tar zxf lua-5.3.5.tar.gz
cd lua-5.3.5
make macosx test
sudo make install
Note: There are many online writing is to make install, being given to (make: *** [install] Error 1), to add sudo, and now has come to lua version 5.3.5, written with the novice in 5.3.0 installed It is still being given to (make: *** [install] Error 71).
Then you can try to enter
lua -v
To see if the installation was successful
Lua 5.3.5 Copyright (C) 1994-2018 Lua.org, PUC-Rio
Such is the success of ↑
-bash: lua: command not found
Such a failure ↑
Exit lua to control + d, do not command + d Do not ask me how I know
The other is through the compiled output file:
nano filename .lua
Then you can write a program
After saving control + x y
Exit Edit Mode control + m