pkg.soopen package index

brew / 排名 6466

使用 Homebrew 安装 ktor

查看 ktor 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install ktor

local Homebrew formula metadata

概览

软件包摘要

Generates Ktor projects through the command-line interface

命令和别名

  • ktor

历史

项目历史与用法

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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
ktor可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本0.5.0
管理器更新时间2026-07-27
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
Bottle未记录
服务未声明

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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