# 使用 Homebrew, scoop, winget 安装 kiota

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

## 安装

```sh
sudo av install brew:kiota
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install kiota
```

  证据: local Homebrew formula metadata

### Windows

- Scoop (92%):

```sh
scoop install main/kiota
```

  证据: Scoop official bucket manifest trees: bucket/kiota.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Microsoft.OpenAPI.Kiota -e
```

  证据: Windows Package Manager source index: Microsoft.OpenAPI.Kiota from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:kiota
- **软件包管理器:** Homebrew
- **版本:** 1.34.1
- **来源摘要:** OpenAPI based HTTP Client code generator
- **主页:** <https://aka.ms/kiota/docs>
- **仓库:** <https://github.com/microsoft/kiota>
- **最后更新:** 2026-07-09T22:04:44Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- kiota (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.34.1
## 项目历史与用法

Kiota is Microsoft's OpenAPI-based HTTP API client generator, distributed as a command-line tool and supported by Microsoft Learn documentation, a GitHub repository, package-manager formulas, and a Visual Studio Code extension.

### 项目历史

Microsoft announced Kiota's general availability on March 16, 2023, describing it as an open source generator for HTTP APIs described by OpenAPI. Its goal was to reduce the need for a separate hand-written SDK for every API while preserving strongly typed clients, authentication abstractions, retry handling, redirects, compression, and path filtering.

The Kiota repository is part of Microsoft's broader OpenAPI and Microsoft Graph tooling work. Its README describes supported generation targets including C#, Go, Java, PHP, Python, Ruby, TypeScript/JavaScript, and Dart, with shared abstractions for serialization, authentication, and HTTP transport.

### 采用历史

After the March 2023 general availability announcement, Microsoft announced a Visual Studio Code extension on April 10, 2023. Package availability expanded across developer-tool channels represented in the input facts, including Homebrew, Scoop, and WinGet, making Kiota a cross-platform CLI rather than only a .NET-local tool.

### 使用方式

Kiota users point the CLI or VS Code extension at an OpenAPI description, inspect and filter the desired API paths, and generate a typed client for an application. This workflow is especially useful when developers need a smaller API surface than a full vendor SDK or want the same request-builder style across multiple APIs.

### 为什么软件包爱好者会关心

Kiota matters to package nerds because it is Microsoft shipping a general-purpose SDK generator as a standalone open source tool. It intersects with OpenAPI, Microsoft Graph, NuGet/.NET tooling, Homebrew, WinGet, Scoop, and editor extensions rather than living only inside a single language ecosystem.

### 时间线

- 2023-03-16: Microsoft announced Kiota general availability.
- 2023-04-10: Microsoft announced the Kiota Visual Studio Code extension.
- 2023-09-28: GitHub release v1.7.0-preview.202309280001 was published.
- 2023-10-05: GitHub release v1.7.0 was published.
- 2026-06-26: GitHub release v1.32.4 was published.

### Related projects

- Kiota builds on Microsoft.OpenAPI.NET and is used around Microsoft Graph scenarios. It sits beside older and broader OpenAPI generator ecosystems such as AutoRest and OpenAPI Generator while emphasizing request builders, path filtering, and shared runtime abstractions.

### 来源

- <https://api.github.com/repos/microsoft/kiota/releases?per_page=100>
- <https://devblogs.microsoft.com/microsoft365dev/tailored-sdk-experiences-via-kiota-now-generally-available/>
- <https://devblogs.microsoft.com/microsoft365dev/you-can-now-use-microsoft-kiota-within-visual-studio-code/>
- <https://formulae.brew.sh/formula/kiota>
- <https://github.com/microsoft/kiota>
- <https://github.com/microsoft/kiota/releases>
- <https://learn.microsoft.com/en-us/openapi/kiota/overview>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 其他软件包管理器记录

- Scoop - main/kiota: normalized package name match | Scoop official bucket manifest trees: bucket/kiota.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Microsoft.OpenAPI.Kiota: normalized package name match | Windows Package Manager source index: Microsoft.OpenAPI.Kiota from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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