# 使用 Homebrew 安装 luvit

查看 luvit 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:luvit
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install luvit
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:luvit
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/luvit>
- **版本:** 2.18.1
- **来源摘要:** Asynchronous I/O for Lua
- **主页:** <https://luvit.io>
- **仓库:** <https://github.com/luvit/luvit>
- **上游文档:** <https://luvit.io/api>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/luvit/luvit/archive/refs/tags/2.18.1.tar.gz>
- **最后更新:** 2026-07-07T10:41:40Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- luvi (cli)
- luvit (cli)
- luvi (别名)
- luvit (别名)

## 依赖

- libuv
- luajit
- openssl@3
- pcre2

## 构建依赖

- cmake
- pkgconf

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 2.18.1
- 管理器更新时间: 2026-07-07
- 本地数据: OK
- 上游仓库: https://github.com/luvit/luvit
- 检测到的最新版本: 2.18.1 (当前)
## 项目历史与用法

Luvit is a LuaJIT runtime and package ecosystem that brings Node.js-style asynchronous programming to Lua through libuv, luvi, and lit. It is packaged as both a scripting command and a library-oriented runtime for small servers, tools, and bundled Lua applications.

### 项目历史

The public Luvit repository was created in September 2011 and describes the project as combining Lua, libUV, and LuaJIT. Its 2.0 README explains that the repository became a metapackage containing the luvit/luvit package plus the luvit/* packages published to lit, with luvi providing the executable runtime layer.

The official site presents Luvit as 'Asynchronous I/O for Lua' and emphasizes a familiar Node.js-like API, coroutine-friendly asynchronous styles, and a modular core where luv, luvi, lit, and the Node-style packages can be mixed as needed.

### 采用历史

Luvit has remained a niche but recognizable runtime in Lua package-manager culture. The official repository had about 4,000 stars and 375 forks in July 2026, and its documented support channels include GitHub issues, Discord, and the mailing list.

The project is also a useful historical bridge between the Node.js/libuv world and Lua: it made libuv-style event loops and npm-like package workflows available to Lua users before those ideas were common in the wider Lua ecosystem.

### 使用方式

The `luvit` CLI runs Lua scripts as standalone servers, clients, and tools. The official homepage shows a small HTTP server launched with `luvit server.lua`, and the README documents using `make`, `luvi .`, and `make test` for core development.

Third-party packages are installed through lit, for example `lit install creationix/weblit`, and Luvit packages are usually written against Node-like APIs such as `http` while still allowing coroutine-based styles.

### 为什么软件包爱好者会关心

Luvit matters because it is not just a Lua library: it is a runtime, package manager culture, and bundling story in one small ecosystem. For package maintainers, it represents the class of language runtimes that pull in a native event loop, a custom package manager, and a language-specific executable.

### 时间线

- 2011: Public `luvit/luvit` repository created on GitHub.
- 2015-2018: Luvit homepage era documenting the luvi/lit/luv ecosystem.
- 2020: Luvit 2.17.0 release published.
- 2021: Luvit 2.18.1 release published.

### Related projects

- luvi provides the base executable runtime used to run bundled Luvit applications.
- lit is the package manager and package database used by the Luvit ecosystem.
- luv provides Lua bindings to libuv and can be used outside Luvit.

### 来源

- <https://api.github.com/repos/luvit/luvit>
- <https://api.github.com/repos/luvit/luvit/releases?per_page=5>
- <https://github.com/luvit/luvit#readme>
- <https://luvit.io/>
- <https://luvit.io/docs.html>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 源数据库详情

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


## 相关链接

- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/zh-hans/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [luajit](https://www.automicvault.com/zh-hans/pkg/brew/luajit/) - Runtime dependency declared by Homebrew.
- [openssl@3](https://www.automicvault.com/zh-hans/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [pcre2](https://www.automicvault.com/zh-hans/pkg/brew/pcre2/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/zh-hans/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/zh-hans/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [luajit-openresty](https://www.automicvault.com/zh-hans/pkg/brew/luajit-openresty/) - Shares av.db curated category or tags: cli, language-runtime, lua, runtime.
- [bigloo](https://www.automicvault.com/zh-hans/pkg/brew/bigloo/) - Shares av.db curated category or tags: cli, language-runtime, runtime.
- [chezscheme](https://www.automicvault.com/zh-hans/pkg/brew/chezscheme/) - Shares av.db curated category or tags: cli, language-runtime, runtime.
- [chicken](https://www.automicvault.com/zh-hans/pkg/brew/chicken/) - Shares av.db curated category or tags: cli, language-runtime, runtime.
- [clozure-cl](https://www.automicvault.com/zh-hans/pkg/brew/clozure-cl/) - Shares av.db curated category or tags: cli, language-runtime, runtime.
- [dartaotruntime](https://www.automicvault.com/zh-hans/pkg/brew/dartaotruntime/) - Shares av.db curated category or tags: cli, language-runtime, runtime.
- [deno](https://www.automicvault.com/zh-hans/pkg/brew/deno/) - Shares av.db curated category or tags: cli, language-runtime, runtime.
- [node](https://www.automicvault.com/zh-hans/pkg/brew/node/) - Local package facts share a topical domain. Shared terms: cli, language, language-runtime, libuv, openssl.
- [php](https://www.automicvault.com/zh-hans/pkg/brew/php/) - Local package facts share a topical domain. Shared terms: cli, language, language-runtime, openssl, openssl-3.

## Combined YAML source

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


## 来源

- 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
