# ktor を Homebrew でインストール

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

## インストール

```sh
sudo av install brew:ktor
```

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

### macOS

- Homebrew (100%):

```sh
brew install ktor
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:ktor
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.5.0
- **ソース概要:** Generates Ktor projects through the command-line interface
- **ホームページ:** <https://github.com/ktorio/ktor-cli>
- **リポジトリ:** <https://github.com/ktorio/ktor-cli>
- **最終更新:** 2026-07-27T21:58:42+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- ktor (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

Ktor CLI is JetBrains' command-line project generator and helper for Ktor, the Kotlin framework for asynchronous server and client applications. The CLI creates Ktor projects, generates projects from OpenAPI specifications, adds Ktor dependencies, and runs Ktor projects in development mode.

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

Ktor itself reached 1.0 on 2018-11-19, when JetBrains described it as a Kotlin framework for asynchronous servers and clients in connected systems. The standalone ktor-cli repository was created on 2021-12-06, adding a package-manager-friendly command-line surface beside the web project generator and IntelliJ IDEA workflows.

The Ktor framework continued through major releases that shaped the CLI's context: Ktor 2.0 was announced on 2022-04-11 after roughly a year of work, and Ktor 3.0 was announced in October 2024 with Kotlin 2.0 alignment and a move to kotlinx-io.

### 採用の歴史

The CLI README documents Homebrew installation for Linux and macOS and WinGet installation for Windows. It also points users to the web generator at start.ktor.io, making the CLI one of several official project-creation paths rather than the only frontend to Ktor scaffolding.

The tool is useful for Kotlin developers who want repeatable project generation outside IntelliJ IDEA, including shell scripts, teaching material, CI experiments, and OpenAPI-driven service skeletons.

### 使われ方

The `ktor new` command creates a project, `ktor openapi` generates from an OpenAPI specification, `ktor add` adds Ktor dependencies to a Gradle project, and `ktor dev` runs a project in development mode with rebuilds. The README also documents proxy support through the `HTTPS_PROXY` environment variable.

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

Ktor CLI is package-nerd notable because it packages an official framework bootstrapper as a small executable rather than assuming an IDE or browser. It also sits at an interesting language boundary: the Ktor framework is Kotlin-first, while the CLI repository builds the command-line executable with Go.

### タイムライン

- 2018-11-19: JetBrains announced Ktor 1.0.
- 2021-12-06: ktorio/ktor-cli repository created on GitHub.
- 2022-04-11: JetBrains announced Ktor 2.0.
- 2024-10: JetBrains announced Ktor 3.0 with Kotlin 2.0 and kotlinx-io changes.

### Related projects

- Ktor CLI is related to the Ktor framework, Kotlin, start.ktor.io, the Ktor IntelliJ IDEA plugin, Gradle, OpenAPI tooling, and JetBrains' broader Kotlin server-development ecosystem.

### ソース

- <https://api.github.com/repos/ktorio/ktor-cli>
- <https://blog.jetbrains.com/kotlin/2018/11/ktor-1-0/>
- <https://blog.jetbrains.com/kotlin/2024/10/ktor-3-0/>
- <https://blog.jetbrains.com/ktor/2022/04/11/ktor-2-0-released/>
- <https://github.com/ktorio/ktor-cli>
- <https://ktor.io/docs/server-create-a-new-project.html>
- <https://raw.githubusercontent.com/ktorio/ktor-cli/main/README.md>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## Combined YAML source

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


## ソース

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