macOS
brew install kokalocal Homebrew formula metadata
brew
koka のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install kokalocal Homebrew formula metadata
sudo apk add kokaAlpine Linux edge package indexes · koka · ソース: dl-cdn.alpinelinux.org
nix profile install nixpkgs#kokanixpkgs package indexes · pkgs/by-name/ko/koka/package.nix · ソース: api.github.com
概要
Compiler for the Koka language
履歴
Koka is a research programming language and compiler centered on effect types, algebraic effect handlers, and functional programming with practical compilation. In package-manager terms, it is a small but notable language-runtime package: not mainstream production infrastructure, but a living research compiler users can install with one command.
Microsoft Research records the Koka project as established on 2012-04-13. Daan Leijen's project materials describe it as a strongly typed functional-style language with effect types and handlers, using a small core of composable language features rather than many special-case extensions.
Koka's early academic identity was tied to row-polymorphic effect types. The 2014 paper 'Koka: Programming with Row-polymorphic Effect Types' describes Koka as implementing the effect system and being used for small to medium examples. Later work pushed effect handlers and efficient implementation techniques, including 2021 ICFP work on generalized evidence passing for effect handlers.
The v3 documentation dated 2026-03-17 describes Koka v3 as a research language under development, stable enough that the compiler implements the full specification, but lacking mature async libraries and package management. That positioning explains why package-manager availability is useful even though the language is not a broad application platform.
Koka's adoption is primarily academic and experimental. It is used to explore effect typing, handlers, Perceus optimized reference counting, reuse analysis, and functional-but-in-place programming ideas rather than to anchor a large industrial ecosystem.
Homebrew, Alpine, and Nix packaging make it easier for programming-language researchers, students, and curious developers to run the compiler without building the Haskell/C toolchain path manually. That matters because research languages often fail at the first install step; a package keeps the barrier low.
Users install Koka to compile and experiment with `.kk` programs, run examples from the language book, explore effect handlers, and test language-design ideas around typed effects and memory management. The command-line compiler is the main package surface.
Because the documentation explicitly notes missing package management and limited async libraries, Koka is best understood as a language lab and compiler package rather than a general-purpose runtime ecosystem comparable to Go, Rust, Python, or Haskell.
Koka is the kind of package that makes language-runtime sections interesting: it exposes active programming-language research through a normal package manager. Its presence beside production compilers lets users compare how ideas such as algebraic effects and handlers move from papers into runnable tools.
It also shows the long tail of package indexes. Not every compiler package is there for production deployment; some are there because a reproducible install is the difference between reading a paper and trying the idea.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
koka | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/koka-lang/koka
インストールメタデータ
| パッケージキー | brew:koka |
|---|---|
| バージョン | 3.2.3 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/koka |
| ホームページ | http://koka-lang.org |
| リポジトリ | https://github.com/koka-lang/koka |
| 上流ドキュメント | https://koka-lang.github.io/koka/doc/book.html |
| ライセンス | Apache-2.0 |
| ソースアーカイブ | https://github.com/koka-lang/koka.git |
| 最終更新 | 2026-07-22T15:59:16Z |
| Pulse | updated |
| 依存関係 | gmp |
| ビルド依存関係 | cabal-install, ghc, pcre2 |
| macOS 提供ライブラリ | libffi |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | koka |
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
koka
nix profile install nixpkgs#kokakoka 3.2.2-r1
Strongly typed functional-style language with effect types and handlers
sudo apk add kokaソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.