macOS
brew install ktorlocal Homebrew formula metadata
安装
brew install ktorlocal Homebrew formula metadata
概览
Generates Ktor projects through the command-line interface
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ktor | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:ktor |
|---|---|
| 版本 | 0.5.0 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/ktorio/ktor-cli |
| 仓库 | https://github.com/ktorio/ktor-cli |
| 最后更新 | 2026-07-27T21:58:42+02:00 |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.