# Install luaver with Homebrew

Manage and switch between versions of Lua, LuaJIT, and Luarocks. Version 1.1.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:luaver
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install luaver
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:luaver
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/luaver>
- **Version:** 1.1.0
- **Source summary:** Manage and switch between versions of Lua, LuaJIT, and Luarocks
- **Homepage:** <https://github.com/DhavalKapil/luaver>
- **Repository:** <https://github.com/DhavalKapil/luaver>
- **Upstream docs:** <https://dhavalkapil.com/luaver>
- **License:** MIT
- **Source archive:** <https://github.com/DhavalKapil/luaver/archive/refs/tags/v1.1.0.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- luaver (cli)
- luaver (alias)

## Dependencies

- wget

## Install behavior

- Post-install hook: not defined
- Caveats: Add the following at the end of the correct file yourself: if which luaver > /dev/null; then . `which luaver`; fi
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.1.0
- Local data: ok
- Upstream repository: https://github.com/DhavalKapil/luaver
- Upstream latest detected: v1.1.0 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

luaver is a shell-based version manager for Lua, LuaJIT, and LuaRocks. It gives Lua developers a way to install and switch runtimes and package-manager versions without relying only on system packages.

### Project history

The project README describes luaver as a Lua Version Manager that manages and switches between versions of Lua, LuaJIT, and LuaRocks. Its feature set is intentionally narrow: install or uninstall versions, switch versions, keep Lua and LuaRocks trees consistent, and allow different terminal sessions to use different environments.

### Adoption history

luaver is a niche developer convenience tool rather than a broad platform dependency. Its adoption is visible mainly through its GitHub repository, Homebrew formula, and author documentation; the input metadata lists Homebrew as its package-manager surface.

### How it is used

Typical usage is shell-driven: install a Lua version, install a LuaJIT or LuaRocks version, switch with luaver use, use-luajit, or use-luarocks, and optionally set defaults for new terminal sessions.

It is most useful when a developer needs to test Lua libraries against several Lua, LuaJIT, and LuaRocks combinations while keeping rock trees and shell state separated.

### Why package nerds care

luaver matters to package nerds because Lua's ecosystem has several actively used runtime versions plus LuaJIT, and LuaRocks state depends on the chosen runtime. A small version manager reduces global-package drift during testing.

Its ceiling is also clear: it is a convenience wrapper around building and switching Lua-family tools, not a universal package manager. That simplicity is exactly why it remains easy to package.

### Timeline

- 2016: The luaver author publishes Lua Version Manager documentation.
- 2020s: The GitHub project remains the official source and Homebrew packages the tool.

### Related projects

- Lua is the main runtime luaver installs and switches.
- LuaJIT is the alternate runtime luaver supports.
- LuaRocks is the package manager luaver installs and keeps version-associated with Lua runtimes.

### Sources

- <https://dhavalkapil.com/blogs/Lua-Version-Manager/>
- <https://github.com/DhavalKapil/luaver>
- source_facts.package-manager


## Security Notes

generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- generalized runtime or code generation signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** luaver
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [wget](https://www.automicvault.com/pkg/brew/wget/) - Runtime dependency declared by Homebrew.
- [bob](https://www.automicvault.com/pkg/brew/bob/) - Shares av.db curated category or tags: cli, developer-tools, version-manager.
- [frum](https://www.automicvault.com/pkg/brew/frum/) - Shares av.db curated category or tags: cli, developer-tools, version-manager.
- [juliaup](https://www.automicvault.com/pkg/brew/juliaup/) - Shares av.db curated category or tags: cli, developer-tools, version-manager.
- [nave](https://www.automicvault.com/pkg/brew/nave/) - Shares av.db curated category or tags: cli, developer-tools, version-manager.
- [phpbrew](https://www.automicvault.com/pkg/brew/phpbrew/) - Shares av.db curated category or tags: cli, developer-tools, version-manager.
- [ry](https://www.automicvault.com/pkg/brew/ry/) - Shares av.db curated category or tags: cli, developer-tools, version-manager.
- [scalaenv](https://www.automicvault.com/pkg/brew/scalaenv/) - Shares av.db curated category or tags: cli, developer-tools, version-manager.
- [xcenv](https://www.automicvault.com/pkg/brew/xcenv/) - Shares av.db curated category or tags: cli, developer-tools, version-manager.
- [xcodes](https://www.automicvault.com/pkg/brew/xcodes/) - Local package facts share a topical domain. Shared terms: between, cli, developer, developer-tools, manager.

## Combined YAML source

View the package source record on GitHub. [combined/luaver.yml](https://github.com/automic-vault/db/blob/main/combined/luaver.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
