# oak を Homebrew, MacPorts, Nix でインストール

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

## インストール

```sh
sudo av install brew:oak
```

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

### macOS

- Homebrew (100%):

```sh
brew install oak
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install oak
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#oak
```

  証拠: nixpkgs package indexes: pkgs/by-name/oa/oak/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:oak
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.3
- **ソース概要:** Expressive, simple, dynamic programming language
- **ホームページ:** <https://oaklang.org/>
- **リポジトリ:** <https://github.com/thesephist/oak>
- **最終更新:** 2026-07-27T23:46:48+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- oak (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

Oak is Linus Lee's small dynamically typed programming language, distributed as a single oak command that includes an interpreter, formatter, bundler, JavaScript compiler path, test runner, documentation tooling, and standard library.

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

The GitHub repository was created on 2021-07-09. The Oak website says Lee had been building Oak since early July 2021 and frames it as a sequel to Ink: not an Ink 2.0 upgrade, but a different language meant to keep Ink's small-language feel while fixing shortcomings that appeared after using Ink for personal productivity tools, compilers, ray tracers, and other projects.

### 採用の歴史

Oak is intentionally niche. Its website says it was designed for Lee's hobby projects and had become his main language for simple scripts, side projects, and personal knowledge tools since late 2021. Homebrew reported stable version 0.3 with 68 installs over the 365-day analytics window queried on 2026-07-01.

### 使われ方

Users run oak as a REPL, pass .oak files to execute scripts, use oak fmt for formatting, and use oak build to bundle programs or cross-compile Oak bundles to JavaScript for browser, Node.js, or Deno environments. The examples emphasize functional-style code, pattern-matching if expressions, callback-oriented asynchronous I/O, and a built-in HTTP server/router in the standard library.

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

Oak matters less as a mainstream language and more as a well-packaged personal language runtime: Go implementation, single executable, Homebrew availability, self-hosted standard-library examples, and a public website documenting the design tradeoffs of a solo language project.

### タイムライン

- 2021-07-09: GitHub repository created.
- Late 2021: Oak website says it became the author's main language for simple scripts, side projects, and personal knowledge tools.
- 2026-07-01: Homebrew formula API reported stable version 0.3.

### Related projects

- Ink
- September
- oaklang GitHub topic

### ソース

- <https://api.github.com/repos/thesephist/oak>
- <https://formulae.brew.sh/api/formula/oak.json>
- <https://github.com/thesephist/oak>
- <https://oaklang.org/>
- <https://raw.githubusercontent.com/thesephist/oak/main/README.md>


## セキュリティノート

generalized runtime or code generation signal.

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

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

- Nix - oak: normalized package name match | nixpkgs package indexes: pkgs/by-name/oa/oak/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - oak: normalized package name match | MacPorts ports tree: devel/oak/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/oak.yml](https://github.com/mxcl/pkgdb/blob/main/combined/oak.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
