{"id":13897797,"url":"https://github.com/guidanoli/luav","last_synced_at":"2025-09-07T16:47:05.700Z","repository":{"id":42194201,"uuid":"334397731","full_name":"guidanoli/luav","owner":"guidanoli","description":"Lua Version Selector","archived":false,"fork":false,"pushed_at":"2025-04-28T12:43:16.000Z","size":439,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-21T08:07:33.501Z","etag":null,"topics":["lua","version"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guidanoli.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-01-30T11:36:03.000Z","updated_at":"2024-09-07T03:19:37.000Z","dependencies_parsed_at":"2025-04-19T18:11:26.820Z","dependency_job_id":"91f07509-4141-4462-9573-f712e2d2c90c","html_url":"https://github.com/guidanoli/luav","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/guidanoli/luav","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guidanoli%2Fluav","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guidanoli%2Fluav/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guidanoli%2Fluav/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guidanoli%2Fluav/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guidanoli","download_url":"https://codeload.github.com/guidanoli/luav/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guidanoli%2Fluav/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274065598,"owners_count":25216443,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["lua","version"],"created_at":"2024-08-06T18:03:52.810Z","updated_at":"2025-09-07T16:47:05.641Z","avatar_url":"https://github.com/guidanoli.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# Lua Version Selector\n\n\u003cimg align=\"right\" width=\"200\" src=\"logo.png\"\u003e\n\nluav lets you download, build and install multiple versions of Lua.\nluav was inspired by [pyenv](https://github.com/pyenv/pyenv) and modified for Lua.\nIt is meant to be very portable among systems running GNU/Linux.\n\n## Main features\n\n* download any version of Lua from [lua.org](https://www.lua.org)\n\n  * all information about versions of Lua is scrapped from [lua.org/ftp](https://lua.org/ftp).\n  * tarballs are checked with [`sha256sum`](https://man7.org/linux/man-pages/man1/sha256sum.1.html)\n\n* build Lua from source with any compiler flags\n* install and uninstall versions\n\n## Dependencies\n\nBesides those most likely pre-installed in any GNU/Linux distro:\n\n* GNU make\n* GNU awk\n* GNU compiler collection (gcc)\n* [curl](https://curl.se/)\n\n## Setup\n\n1. Clone this repository anywhere\n\n   ```sh\n   git clone https://github.com/guidanoli/luav.git ~/.luav\n   ```\n\n2. Add the `bin` folder to your `PATH` variable\n\n   ```sh\n   echo \u003e\u003e ~/.bashrc\n   echo 'export LUAV_ROOT=\"$HOME/.luav\"' \u003e\u003e ~/.bashrc\n   echo 'export PATH=\"$LUAV_ROOT/bin:$PATH\"' \u003e\u003e ~/.bashrc\n   ```\n\n3. Run `eval \"$(luav init)\"` for autocomplete support\n\n   ```sh\n   echo 'eval \"$(luav init)\"' \u003e\u003e ~/.bashrc\n   ```\n\n## Example\n\nThe following lines show how you would install the latest version of Lua with libreadline on GNU/Linux.\n\n```sh\nluav update                                  # Update the internal version index\nlatest=`luav all | head -n1`                 # Get the latest version of Lua\nluav get $latest                             # Download source code from lua.org\nluav make $latest linux-readline -j `nproc`  # Compile source code locally with libreadline\nluav set $latest                             # Install binaries and manuals\n```\n\n## Usage\n\nUpon running `luav help`, the following text is yielded.\n\n```\nLua Version Selector 1.2.0\n\nUsage: luav \u003ccommand\u003e [\u003cargs...\u003e]\n       luav help [\u003ccommand\u003e]\n\nAvailable commands:\n      all  List all indexed versions of Lua\n     cmds  List all available luav commands\n     comp  Print completion options for a luav command\n      doc  Browse through the manual of a version of Lua\n      get  Download an indexed version of Lua\n     help  Print information about a luav command or about all of them\n     info  List information about all indexed versions of Lua\n     init  Print initialization code for autocomplete support\n     list  List all local versions of Lua\n     make  Run make for a version of Lua\n       rm  Remove a local version of Lua\n      set  Set a Lua version as default\n     test  Run luav unit tests (might mess up local versions)\n     tgts  List all main targets of a version of Lua\n    unset  Unset a Lua version as default\n   update  Update the version index\n  version  Print the current version of luav\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguidanoli%2Fluav","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguidanoli%2Fluav","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguidanoli%2Fluav/lists"}