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

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

## インストール

```sh
sudo av install brew:ki
```

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

### macOS

- Homebrew (100%):

```sh
brew install ki
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#ki
```

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

## パッケージ情報

- **パッケージキー:** brew:ki
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.5.2
- **ソース概要:** Kotlin Language Interactive Shell
- **ホームページ:** <https://github.com/Kotlin/kotlin-interactive-shell>
- **リポジトリ:** <https://github.com/Kotlin/kotlin-interactive-shell>
- **最終更新:** 2026-05-19T07:49:15-04:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- ki (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

Kotlin Language Interactive Shell, usually invoked as `ki`, is JetBrains' richer terminal REPL for Kotlin: a shell with syntax highlighting, type inference commands, runtime Maven dependency loading, and symbol listing.

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

The project grew out of Sparklin. The repository README describes it as the former Sparklin shell migrated to Kotlin's newer scripting and REPL infrastructure and generalized into the Kotlin Language Interactive Shell. Early GitHub releases in 2018 were still named Sparklin; by 2021 the release stream and JetBrains announcement presented it as `ki`.

### 採用の歴史

The README documents distribution through Maven Central archives, SDKMAN!, Arch Linux AUR, Homebrew, and MacPorts. JetBrains' 2021 Kotlin blog post positioned `ki` as a better standalone shell alongside the built-in `kotlinc` and IntelliJ IDEA REPL options.

### 使われ方

Package users install `ki` to try Kotlin snippets, load JVM dependencies from Maven coordinates during an interactive session, inspect declared symbols, and run a Kotlin REPL from a terminal without opening an IDE.

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

`ki` matters because it is an official Kotlin-team package that turns a language REPL into something closer to a shell-oriented package-manager experience: install a launcher, pull dependencies by coordinates, and explore JVM libraries interactively.

### タイムライン

- 2017: Kotlin/kotlin-interactive-shell repository created on GitHub.
- 2018: GitHub releases were published under the Sparklin name.
- 2021: JetBrains announced `ki` as the next interactive shell for Kotlin.
- 2022: The 0.4.x release series continued under the Kotlin Language Interactive Shell repository.

### Related projects

- The README points to Kotlin/kotlin-spark-shell as the Apache Spark adaptation and keeps the earlier Sparklin version in a separate repository branch.

### ソース

- <https://blog.jetbrains.com/kotlin/2021/04/ki-the-next-interactive-shell-for-kotlin/>
- <https://github.com/Kotlin/kotlin-interactive-shell>
- <https://github.com/Kotlin/kotlin-interactive-shell/releases>
- <https://github.com/Kotlin/kotlin-spark-shell>


## セキュリティノート

generalized runtime or code generation signal.

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

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

- Nix - ki: normalized package name match | nixpkgs package indexes: pkgs/by-name/ki/ki/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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