# wren-cli を Homebrew, MacPorts でインストール

wren-cli のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:wren-cli
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install wren-cli
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install wren-cli
```

  証拠: MacPorts ports tree: lang/wren-cli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:wren-cli
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.4.0
- **ソース概要:** Simple REPL and CLI tool for running Wren scripts
- **ホームページ:** <https://github.com/wren-lang/wren-cli>
- **リポジトリ:** <https://github.com/wren-lang/wren-cli>
- **最終更新:** 2026-07-10T09:59:34-04:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- wren_cli (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.4.0
## プロジェクトの歴史と使われ方

Wren CLI is the standalone command-line companion to Wren, a small embeddable scripting language created by Bob Nystrom and later maintained in the wren-lang GitHub organization. The CLI exists because the core Wren VM is deliberately minimal: it gives users a REPL and script runner, plus operating-system-facing modules such as file I/O and networking that are intentionally not bundled into the language core.

In package-manager terms, wren-cli matters less as a large ecosystem tool and more as the practical executable that turns Wren from an embeddable VM into a shell-usable language runtime. It is the piece a developer installs when they want to run `.wren` scripts, experiment at a prompt, or study a small real-world embedding of the Wren VM.

### プロジェクトの歴史

The Wren language repository dates to 2013, and the language site describes Wren as a small, fast, class-based concurrent scripting language with an intentionally tiny implementation and standard library. In November 2018 Bob Nystrom announced that Sven Bergstrom, known as ruby0x1, would become Wren's lead maintainer and that the project would move under the `wren-lang` organization, preserving issues, pull requests, and project infrastructure.

The Wren development blog announced the maintainer transition publicly on 4 February 2019 and emphasized continuity: Wren would evolve while staying small, simple, learnable, and hackable. The separate `wren-cli` repository was created later in 2019 as the standalone command-line tool for the language, and GitHub releases show tagged CLI releases such as 0.3.0 in June 2020 and 0.4.0 in November 2021.

### 採用の歴史

Wren's adoption has historically centered on embedding, games, language experimentation, and small tools rather than a large package ecosystem. The Wren homepage highlights the small VM and C API, while the CLI page frames wren-cli as both a practical tool and a real-world usage example for people learning how Wren can be embedded and extended.

The CLI also reflects Wren's post-2018 stewardship model: the language and supporting tools live in the shared `wren-lang` organization instead of only under the original author's account. That makes wren-cli part of the maintained Wren distribution story even though it is intentionally separate from the minimal core VM.

### 使われ方

Users install or build `wren_cli` to run Wren source files, start a REPL, and access the CLI-specific modules documented at `wren.io/cli`. The CLI depends on libuv for operating-system features, which lets scripts use facilities such as file I/O and networking while keeping the base Wren language small.

Typical package-nerd usage is exploratory: run examples, test snippets, wire small scripts, or compare Wren's embedding model with Lua-style scripting. The CLI page is explicit that it is a work in progress and a standalone project, so users should treat it as the general-purpose executable around the language rather than as the entire Wren runtime.

### パッケージ好きにとっての重要性

wren-cli is significant because it packages the otherwise embeddable-first Wren VM into a normal Unix-style executable. That makes it indexable by Homebrew and MacPorts, scriptable from a shell, and easy to include in language-runtime inventories alongside Lua, Janet, or other compact embeddable languages.

Its separation from the core language is also historically interesting: Wren's design keeps the VM and standard library small, while the CLI carries the pragmatic I/O surface that package users expect from a runnable scripting language.

### タイムライン

- 2013: The Wren language repository is created on GitHub.
- 2018: Bob Nystrom announces a maintainer transition and move to the `wren-lang` organization.
- 2019-02-04: The Wren blog announces the new maintainer era and centralized project blog.
- 2019-09-18: The `wren-lang/wren-cli` repository is created.
- 2020-06-05: Wren CLI 0.3.0 is published on GitHub.
- 2021-11-20: Wren CLI 0.4.0 is published on GitHub.

### Related projects

- Wren is the core language and VM that wren-cli runs.
- libuv supplies the CLI's operating-system-facing functionality.
- The wren-lang organization hosts the language, CLI, and site repositories.

### ソース

- <https://api.github.com/repos/wren-lang/wren>
- <https://api.github.com/repos/wren-lang/wren-cli>
- <https://api.github.com/repos/wren-lang/wren-cli/releases>
- <https://groups.google.com/g/wren-lang/c/cMUwij-NIn0>
- <https://wren.io/>
- <https://wren.io/blog/0-hello-wren.html>
- <https://wren.io/cli/>


## セキュリティノート

generalized runtime or code generation signal.

- **Geiger リスク:** yellow / 中
- generalized runtime or code generation signal

## 他のパッケージマネージャ記録

- MacPorts - wren-cli: normalized package name match | MacPorts ports tree: lang/wren-cli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/wren-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/wren-cli.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
