# 使用 Homebrew 安装 lunarr

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

## 安装

```sh
sudo av install brew:lunarr
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install lunarr
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:lunarr
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/lunarr>
- **版本:** 0.9.1
- **来源摘要:** Self-hosted media streaming server and Plex alternative for movies and TV
- **主页:** <https://github.com/lunarr-app/lunarr-go>
- **仓库:** <https://github.com/lunarr-app/lunarr-go>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/lunarr-app/lunarr-go/archive/refs/tags/v0.9.1.tar.gz>
- **最后更新:** 2026-08-01T18:48:05Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- lunarr (cli)
- lunarr (别名)

## 依赖

- ffmpeg
- node

## 安装行为

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

## 版本和新鲜度

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

Lunarr is a self-hosted media server for movie and television libraries stored on local disks, SFTP, or WebDAV. It combines metadata matching, direct streaming, HLS transcoding, user management, and browser-based administration.

### 项目历史

The official repository was created in 2023 and developed as a headless, self-hosted alternative to proprietary media-library servers. The current application provides a web interface and keeps persistent state in SQLite.

### 采用历史

Lunarr is primarily deployed as a Docker service with persistent application data and optional media mounts. The project also documents source-based local development and a production Node server workflow.

### 使用方式

Administrators mount or connect movie and TV libraries, configure TMDb metadata, create users and roles, and trigger scans. Playback can use direct streaming or on-the-fly HLS transcoding with FFmpeg, including Chromecast and AirPlay targets.

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

For self-hosting enthusiasts, Lunarr is a compact media-server package whose runtime state is easy to isolate: configuration comes from environment variables or a project .env file, while a single data directory contains the SQLite database and playback caches.

### 时间线

- 2023-04: The official Lunarr repository was created.
- 2026: Official documentation described Docker deployment, SQLite persistence, local/SFTP/WebDAV libraries, and direct or transcoded playback.

### Related projects

- The project positions itself in the same self-hosted media-server space as Plex, Jellyfin, and Emby, and integrates with TMDb, FFmpeg, Chromecast, AirPlay, SFTP, and WebDAV.

### 来源

- <https://github.com/lunarr-app/lunarr-go#readme>
- <https://github.com/lunarr-app/lunarr-go/blob/main/docs/configuration.md>
- <https://github.com/lunarr-app/lunarr-go/blob/main/docs/getting-started.md>


## 安全说明

没有找到 lunarr 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ./.env

## Credential files

- Unix: <LUNARR_DATA_DIR>/auth-secret
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** lunarr
- **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


## 相关链接

- [Cloud CLI packages](https://pkg.so/zh-hans/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [node](https://pkg.so/zh-hans/brew/node/) - Runtime dependency declared by Homebrew.
- [ffmpeg](https://pkg.so/zh-hans/brew/ffmpeg/) - Runtime dependency declared by Homebrew.
- [minidlna](https://pkg.so/zh-hans/brew/minidlna/) - Shares pkgdb curated category or tags: cli, media, media-server.
- [lanraragi](https://pkg.so/zh-hans/brew/lanraragi/) - Shares pkgdb curated category or tags: cli, docker, media, self-hosted.
- [icecast](https://pkg.so/zh-hans/brew/icecast/) - Shares pkgdb curated category or tags: cli, media, media-server, streaming.
- [tinyice](https://pkg.so/zh-hans/brew/tinyice/) - Shares pkgdb curated category or tags: cli, hls, media, streaming.
- [gstreamer](https://pkg.so/zh-hans/brew/gstreamer/) - Shares pkgdb curated category or tags: cli, media, streaming.
- [ffmpeg-full](https://pkg.so/zh-hans/brew/ffmpeg-full/) - Shares pkgdb curated category or tags: cli, media, streaming.
- [libshout](https://pkg.so/zh-hans/brew/libshout/) - Shares pkgdb curated category or tags: cli, media, streaming.
- [qobine-web](https://pkg.so/zh-hans/brew/qobine-web/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, hosted, media, self, self-hosted.
- [gifify](https://pkg.so/zh-hans/brew/gifify/) - Local package facts share a topical domain. Shared terms: cli, ffmpeg, media, movies.

## Combined YAML source

View the package source record on GitHub. [combined/lunarr.yml](https://github.com/mxcl/pkgdb/blob/main/combined/lunarr.yml)


## 来源

- pkg.so package database
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
