All Projects → DhavalKapil → Luaver

DhavalKapil / Luaver

Licence: mit
Lua Version Manager - Managing and switching between different versions of Lua, LuaJIT and Luarocks made easy

Programming Languages

shell
77523 projects
lua
6591 projects

Projects that are alternatives of or similar to Luaver

Version
♈ Value Object that represents a SemVer-compliant version number.
Stars: ✭ 117 (-34.64%)
Mutual labels:  version
Changelog
📘 semantic-release plugin to create or update a changelog file
Stars: ✭ 142 (-20.67%)
Mutual labels:  version
Semantic Release
📦🚀 Fully automated version management and package publishing
Stars: ✭ 14,364 (+7924.58%)
Mutual labels:  version
Reckon
Infer a project's version from your Git repository.
Stars: ✭ 124 (-30.73%)
Mutual labels:  version
Pip Check
pip-check gives you a quick overview of all installed packages and their update status.
Stars: ✭ 134 (-25.14%)
Mutual labels:  version
Github
semantic-release plugin to publish a GitHub release and comment on released Pull Requests/Issues
Stars: ✭ 159 (-11.17%)
Mutual labels:  version
Motan Openresty
A cross-language RPC framework for rapid development of high performance distributed services based on OpenResty.
Stars: ✭ 117 (-34.64%)
Mutual labels:  luajit
Luarocks
LuaRocks is the package manager for the Lua programming language.
Stars: ✭ 2,324 (+1198.32%)
Mutual labels:  luajit
Loom
Easier to read LuaJIT dumps
Stars: ✭ 138 (-22.91%)
Mutual labels:  luajit
Lua Resty Jit Uuid
Fast and dependency-free UUID library for LuaJIT/ngx_lua
Stars: ✭ 169 (-5.59%)
Mutual labels:  luajit
Luafun
Lua Fun is a high-performance functional programming library for Lua designed with LuaJIT's trace compiler in mind.
Stars: ✭ 1,654 (+824.02%)
Mutual labels:  luajit
Shadows
Shädows - A Shadows & Lights engine for löve
Stars: ✭ 134 (-25.14%)
Mutual labels:  luajit
Version
Represent and compare versions via semantic versioning (SemVer) in Swift
Stars: ✭ 160 (-10.61%)
Mutual labels:  version
Luakit
Fast, small, webkit based browser framework extensible by Lua.
Stars: ✭ 1,640 (+816.2%)
Mutual labels:  luajit
Goluwa
a game framework written in luajit
Stars: ✭ 173 (-3.35%)
Mutual labels:  luajit
Jgitver Maven Plugin
maven core extension to automatically define versions using jgitver & git tags
Stars: ✭ 117 (-34.64%)
Mutual labels:  version
Semver.c
Semantic version library written in ANSI C
Stars: ✭ 147 (-17.88%)
Mutual labels:  version
Mlua
High level Lua 5.4/5.3/5.2/5.1 (including LuaJIT) bindings to Rust with async/await support
Stars: ✭ 176 (-1.68%)
Mutual labels:  luajit
Protoplug
Create audio plugins on-the-fly with LuaJIT.
Stars: ✭ 175 (-2.23%)
Mutual labels:  luajit
Lua Resty Repl
Interactive console (REPL) for Openresty and luajit code
Stars: ✭ 165 (-7.82%)
Mutual labels:  luajit

Lua Version Manager - luaver

Build Status Join the chat at https://gitter.im/DhavalKapil/luaver License

luaver helps to manage and switch between different versions of Lua, LuaJIT and Luarocks.

Features

  1. Installs/Uninstalls any version of Lua, LuaJIT or luarocks with a single command.
  2. Switches between different versions of 'Lua', 'LuaJIT' or 'Luarocks' easily, without glitches.
  3. Consistency between 'Lua' and 'Luarocks' maintained - Rocks and configurations for different lua versions are stored differently.
  4. Every terminal session can have a different environment configured. Default versions can also be configured.

gif animation showing usage of luaver

Requirements

Requires make, either of wget or curl.

You may need to install some dependencies:

sudo apt-get install libreadline-dev 

Also, if you are planning to install older versions of Lua(which are 32-bit) on 64-bit machines, you may need to install some 32-bit libraries:

sudo apt-get install lib32ncurses5-dev

Installation

Install script

You can install from the script directly:

curl -fsSL https://raw.githubusercontent.com/dhavalkapil/luaver/master/install.sh | sh -s - -r v1.1.0

Follow the instructions which appears after the luaver installation.

Install using git

  1. Clone this repository into ~/.luaver:

    $ git clone https://github.com/DhavalKapil/luaver.git ~/.luaver
    
  2. Add . ~/.luaver/luaver to your profile such as .bashrc or .zshrc:

    $ echo "[ -s ~/.luaver/luaver ] && . ~/.luaver/luaver" >> ~/.bashrc
    $ echo "[ -s ~/.luaver/completions/luaver.bash ] && . ~/.luaver/completions/luaver.bash" >> ~/.bashrc
    
  3. Reload .bashrc or restart the shell to load luaver:

    $ . ~/.bashrc
    

Update using git

Note: This method only works if luaver was installed using git.

$ cd ~/.luaver && git fetch origin && git reset --hard origin/master

Additional works may be required.

Usage

Sample usage:

luaver install 5.3.1             # Installs Lua version 5.3.1
luaver install 5.3.0             # Installs Lua version 5.3.0
luaver use 5.3.1                 # Switches to Lua version 5.3.1
luaver install-luarocks 2.3.0    # Installs Luarocks version 2.3.0
luaver uninstall 5.3.0           # Uninstalls Lua version 5.3.0

Complete usage:

luaver help

Usage:
   luaver help                              Displays this message
   luaver install <version>                 Installs lua-<version>
   luaver use <version>                     Switches to lua-<version>
   luaver set-default <version>             Sets <version> as default for lua
   luaver unset-default                     Unsets the default lua version
   luaver uninstall <version>               Uninstalls lua-<version>
   luaver list                              Lists installed lua versions
   luaver install-luajit <version>          Installs luajit-<version>
   luaver use-luajit <version>              Switches to luajit-<version>
   luaver set-default-luajit <version>      Sets <version> as default for luajit
   luaver unset-default-luajit              Unsets the default luajit version
   luaver uninstall-luajit <version>        Uninstalls luajit-<version>
   luaver list-luajit                       Lists installed luajit versions
   luaver install-luarocks <version>        Installs luarocks<version>
   luaver use-luarocks <version>            Switches to luarocks-<version>
   luaver set-default-luarocks <version>    Sets <version> as default for luarocks
   luaver unset-default-luarocks            Unsets the default luarocks version
   luaver uninstall-luarocks <version>      Uninstalls luarocks-<version>
   luaver list-luarocks                     Lists all installed luarocks versions
   luaver current                           Lists present versions being used
   luaver version                           Displays luaver version

Contribution

Feel free to file issues and submit pull requests – contributions are welcome.

License

luaver is licensed under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].