# Installer ktor avec Homebrew

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de ktor pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install ktor
```

  Preuve: local Homebrew formula metadata

## Faits du paquet

- **Clé du paquet:** brew:ktor
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/ktor>
- **Version:** 0.5.0
- **Résumé source:** Generates Ktor projects through the command-line interface
- **Page d'accueil:** <https://github.com/ktorio/ktor-cli>
- **Dépôt:** <https://github.com/ktorio/ktor-cli>
- **Licence:** Apache-2.0
- **Archive source:** <https://github.com/ktorio/ktor-cli/archive/refs/tags/0.5.0.tar.gz>
- **Dernière mise à jour:** 2026-07-27T21:58:42+02:00
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- ktor (cli)
- ktor (alias)

## Dépendances de compilation

- go

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 0.5.0
- gestionnaire mis à jour: 2026-07-27
- données locales: OK
- dépôt amont: https://github.com/ktorio/ktor-cli
- dernière version détectée: 0.5.0 (à jour)
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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.

### Sources

- <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>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ktor
- **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:** head, stable


## Liens liés

- [Source-control packages](https://pkg.so/fr/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/fr/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://pkg.so/fr/brew/go/) - Build dependency declared by Homebrew.
- [xcodegen](https://pkg.so/fr/brew/xcodegen/) - Shares pkgdb curated category or tags: cli, developer-tools, project-generator.
- [gradle](https://pkg.so/fr/brew/gradle/) - Shares pkgdb curated category or tags: cli, developer-tools, kotlin.
- [openapi-generator](https://pkg.so/fr/brew/openapi-generator/) - Shares pkgdb curated category or tags: cli, developer-tools, openapi.
- [ktlint](https://pkg.so/fr/brew/ktlint/) - Shares pkgdb curated category or tags: cli, developer-tools, kotlin.
- [cookiecutter](https://pkg.so/fr/brew/cookiecutter/) - Shares pkgdb curated category or tags: cli, developer-tools, project-generator.
- [swagger-codegen](https://pkg.so/fr/brew/swagger-codegen/) - Shares pkgdb curated category or tags: cli, developer-tools, openapi.
- [redocly-cli](https://pkg.so/fr/brew/redocly-cli/) - Shares pkgdb curated category or tags: cli, developer-tools, openapi.
- [copier](https://pkg.so/fr/brew/copier/) - Shares pkgdb curated category or tags: cli, developer-tools, project-generator.
- [generify](https://pkg.so/fr/npm/generify/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, generator, generators.
- [kickstart](https://pkg.so/fr/brew/kickstart/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, generator, project.

## Combined YAML source

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


## Sources

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