# 使用 Homebrew, pacman, scoop, winget 安装 algernon

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

## 安装

```sh
sudo av install brew:algernon
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install algernon
```

  证据: local Homebrew formula metadata

### Linux

- pacman (92%):

```sh
sudo pacman -S algernon
```

  证据: Arch Linux sync databases: algernon from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install main/algernon
```

  证据: Scoop official bucket manifest trees: bucket/algernon.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id xyproto.algernon -e
```

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

## 软件包事实

- **软件包键:** brew:algernon
- **软件包管理器:** Homebrew
- **版本:** 1.17.11
- **来源摘要:** Pure Go web server with Lua, Markdown, HTTP/2 and template support
- **主页:** <https://algernon.roboticoverlords.org>
- **仓库:** <https://github.com/xyproto/algernon>
- **最后更新:** 2026-07-26T14:39:25Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- algernon (别名)
- mdview (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.17.11
## 项目历史与用法

Algernon is a self-contained Go web server and application server aimed at serving Markdown, Lua, templates, and modern web assets with little setup. In package-manager terms it sits in the small-binary web-server lane: install one executable, point it at a directory or script, and get a batteries-included local or production-ish server.

### 项目历史

The public GitHub repository was created in March 2015 under xyproto/algernon. Its official README describes a web server with built-in support for HTTP/2, HTTP/3/QUIC, Lua, Teal, Markdown, Pongo2, Amber, Sass/SCSS, JSX/TypeScript, databases, plugins, users, and permissions.

The project grew around the idea that common web-serving and lightweight application tasks should not require a stack of background converters or service components. The README emphasizes that it is a small self-contained executable, with Go providing the portability base and embedded interpreters and renderers providing the dynamic behavior.

### 采用历史

Algernon is packaged beyond Homebrew, with the README linking to Repology packaging status and the input facts listing Homebrew, Arch, Scoop, and WinGet package names. The GitHub repository had thousands of stars and over a hundred forks in the official GitHub API metadata checked for this batch, which is meaningful adoption for a niche web-server tool.

The project also publishes release artifacts and Docker images, which matters for a server tool because users often want either a package-manager install for local use or a container for deployment experiments.

### 使用方式

Typical use is to install the binary, run `algernon` against a directory or Lua script, and let special filenames such as `index.lua`, `index.md`, template files, or JSX/TSX files determine how content is served. The tutorial shows the smallest loop as writing a Lua handler and running `algernon hello.lua`.

Package users care about the low-friction behavior: Markdown preview, Lua-backed endpoints, local development with auto-refresh, HTTP/2 and QUIC support, and database fallback behavior are all available from the same installed command.

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

Algernon is a good example of the Go single-binary packaging style applied to web serving. It competes less with nginx or Caddy as infrastructure and more with ad hoc local servers, static-site preview tools, and small internal web apps where eliminating runtime dependencies is attractive.

Its formula is interesting because it packages a broad web runtime surface behind one executable, so distribution maintainers are shipping a surprisingly capable server without a language runtime dependency chain.

### 时间线

- 2015: Public GitHub repository created.
- 2010s-2020s: Project expands from Lua, Markdown, and template serving into a broader Go web application server.
- 2026: Official repository metadata still shows active pushes and releases.

### Related projects

- Related tools include Caddy and nginx for web serving, Python's simple HTTP server for local file serving, and Lua-enabled web stacks for scriptable request handling.

### 来源

- <https://api.github.com/repos/xyproto/algernon>
- <https://github.com/xyproto/algernon>
- <https://raw.githubusercontent.com/xyproto/algernon/main/README.md>
- <https://raw.githubusercontent.com/xyproto/algernon/main/TUTORIAL.md>
- source_facts.package-manager


## 安全说明

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


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

- pacman - algernon - 1.17.11-1: normalized package name match | Arch Linux sync databases: algernon from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Web server with Lua, Markdown, QUIC, Redis and PostgreSQL support | https://algernon.roboticoverlords.org/
- Scoop - main/algernon: normalized package name match | Scoop official bucket manifest trees: bucket/algernon.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - xyproto.algernon: normalized package name match | Windows Package Manager source index: xyproto.algernon from https://cdn.winget.microsoft.com/cache/source.msix
- winget - c3er.mdview: installed executable or alias match | Windows Package Manager source index: c3er.mdview from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
