https://github.com/stratus3d/asdf-lua
Lua plugin for asdf version manager. https://github.com/asdf-vm/asdf
https://github.com/stratus3d/asdf-lua
Last synced: about 1 year ago
JSON representation
Lua plugin for asdf version manager. https://github.com/asdf-vm/asdf
- Host: GitHub
- URL: https://github.com/stratus3d/asdf-lua
- Owner: Stratus3D
- License: mit
- Created: 2015-10-23T10:26:05.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2025-02-19T16:42:33.000Z (over 1 year ago)
- Last Synced: 2025-03-31T04:08:10.089Z (about 1 year ago)
- Language: Shell
- Homepage:
- Size: 67.4 KB
- Stars: 67
- Watchers: 3
- Forks: 16
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# asdf-lua
[](https://travis-ci.org/Stratus3D/asdf-lua)
[](https://github.com/Stratus3D/asdf-lua/actions/workflows/workflow.yml)
Lua plugin for [asdf version manager](https://github.com/HashNuke/asdf) based off of scripts in my [dotfiles repository](https://github.com/Stratus3D/dotfiles).
## Dependencies
* ANSI C compiler (like gcc).
* OSX
* `xcode-select --install`. Then install the "Command Line Tools" component from the dialog that appears.
* Debian
* `sudo apt-get install linux-headers-$(uname -r) build-essential`
* RedHat
* `sudo yum install devtoolset-2`
## Install
```
asdf plugin add lua https://github.com/Stratus3D/asdf-lua.git
```
## Use
Check the [asdf](https://github.com/HashNuke/asdf) readme for instructions on how to install & manage versions of Lua.
You can also read my [Lua Version Management with asdf-lua](http://stratus3d.com/blog/2016/12/30/lua-version-management-with-asdf-lua/) article which has complete instructions on installation and usage.
## Options
### Linux Readline
If you are installing Lua 5.4.x or greater on linux by default Lua will be compiled without readline. You can override this behavior by setting `ASDF_LUA_LINUX_READLINE=1` before running `asdf install`. See this thread for the details - http://lua-users.org/lists/lua-l/2020-07/msg00363.html
## Development
To modify this plugin into your `asdf` installation and see changes live, just create a symlink:
```
ln -s . ~/.asdf/plugins/lua
```
## Contributing
Feel free to create an issue or pull request if you find a bug.
## Issues
* Lua versions 4.0 and earlier do not install
* No way to specify specify custom configuration options
## License
MIT License