# 使用 Homebrew, Nix, winget 安装 lune

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

## 安装

```sh
sudo av install brew:lune
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install lune
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#lune
```

  证据: nixpkgs package indexes: pkgs/by-name/lu/lune/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- winget (92%):

```sh
winget install --id Lune.Lune -e
```

  证据: Windows Package Manager source index: Lune.Lune from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:lune
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/lune>
- **版本:** 0.10.5
- **来源摘要:** Standalone Luau script runtime
- **主页:** <https://lune-org.github.io/docs>
- **仓库:** <https://github.com/lune-org/lune>
- **上游文档:** <https://github.com/lune-org/lune#readme>
- **许可证:** MPL-2.0
- **源码归档:** <https://github.com/lune-org/lune/archive/refs/tags/v0.10.5.tar.gz>
- **最后更新:** 2026-07-03T00:33:35Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- lune (cli)
- lune (别名)

## 构建依赖

- cmake
- rust

## 安装行为

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

## 版本和新鲜度

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

Lune is a standalone Luau runtime. Its documentation presents it as a way to write and run Luau programs in the style of standalone runtimes such as Node.js, Deno, Bun, or Luvit, with asynchronous APIs and a Rust implementation.

### 项目历史

The lune-org/lune repository was created in 2023. The project frames Luau as a general scripting environment rather than only an embedded Roblox language, while still including Roblox-oriented compatibility such as a familiar task scheduler and optional APIs for manipulating Roblox place and model files.

The documentation emphasizes a small executable, filesystem/networking/stdio APIs, editor-friendly documentation, and a command-line workflow around `lune run` and `lune list`.

### 采用历史

Lune's official installation documentation identifies Rokit, a Roblox toolchain manager, as the preferred installation path, then documents GitHub Releases, Scoop, Homebrew, AUR, Nix, Cargo, and binstall paths. The supplied package metadata also lists Homebrew, Nix, and winget.

This broad packaging surface is part of Lune's adoption story: it serves Roblox/Luau developers who want a script runner available through the package manager they already use.

### 使用方式

A typical script is run with `lune run script-name`, and the docs say Lune searches the current directory, `lune` and `.lune` subdirectories, and corresponding home-directory folders for `.luau` or `.lua` scripts.

`lune list` enumerates scripts found in `lune` or `.lune` directories, and `lune run -` executes a script from standard input, which makes it useful for command-line pipelines and local automation.

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

Lune is notable in package history because it packages Luau as a standalone language runtime rather than as an engine-embedded scripting language. That gives package managers something closer to a `node` or `deno` analogue for Luau scripts.

Its official docs explicitly discuss multiple package ecosystems, including Homebrew and Nix, which makes it a good example of a modern language runtime treating package-manager availability as part of the product.

### 时间线

- 2023: lune-org/lune repository created.
- 2025: v0.10.4 release published on GitHub.
- 2026: Repository metadata shows ongoing maintenance activity.

### Related projects

- Luau is the language runtime target.
- Node.js, Deno, Bun, and Luvit are named by upstream as comparable standalone runtimes.
- Rokit, Foreman, Aftman, Homebrew, Nix, Scoop, Cargo, and binstall are documented installation or toolchain channels.

### 来源

- <https://api.github.com/repos/lune-org/lune>
- <https://api.github.com/repos/lune-org/lune/releases/latest>
- <https://github.com/lune-org/lune#readme>
- <https://lune-org.github.io/docs/>
- <https://lune-org.github.io/docs/getting-started/1-installation/>
- <https://lune-org.github.io/docs/getting-started/2-command-line-usage/>
- source_facts.package-manager


## 安全说明

generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- generalized runtime or code generation signal

## 源数据库详情

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

## 其他软件包管理器记录

- Nix - lune: normalized package name match | nixpkgs package indexes: pkgs/by-name/lu/lune/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- winget - Lune.Lune: normalized package name match | Windows Package Manager source index: Lune.Lune from https://cdn.winget.microsoft.com/cache/source.msix
- winget - saraansx.Lune: normalized package name match | Windows Package Manager source index: saraansx.Lune from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [cmake](https://www.automicvault.com/zh-hans/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/zh-hans/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [gauche](https://www.automicvault.com/zh-hans/pkg/brew/gauche/) - Shares av.db curated category or tags: cli, language-runtime, runtime, scripting.
- [luau](https://www.automicvault.com/zh-hans/pkg/brew/luau/) - Shares av.db curated category or tags: cli, language-runtime, luau, scripting.
- [perl](https://www.automicvault.com/zh-hans/pkg/brew/perl/) - Shares av.db curated category or tags: cli, language-runtime, runtime, scripting.
- [php](https://www.automicvault.com/zh-hans/pkg/brew/php/) - Shares av.db curated category or tags: cli, language-runtime, runtime, scripting.
- [planck](https://www.automicvault.com/zh-hans/pkg/brew/planck/) - Shares av.db curated category or tags: cli, language-runtime, runtime, scripting.
- [rune](https://www.automicvault.com/zh-hans/pkg/brew/rune/) - Shares av.db curated category or tags: cli, language-runtime, rust, scripting.
- [ammonite-repl](https://www.automicvault.com/zh-hans/pkg/brew/ammonite-repl/) - Shares av.db curated category or tags: cli, language-runtime, scripting.
- [bigloo](https://www.automicvault.com/zh-hans/pkg/brew/bigloo/) - Shares av.db curated category or tags: cli, language-runtime, runtime.

## Combined YAML source

View the package source record on GitHub. [combined/lune.yml](https://github.com/automic-vault/db/blob/main/combined/lune.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
- external package-manager database matches
- cross-ecosystem install command graph
