# 使用 Homebrew Cask 安装 devtunnel

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

## 安装

```sh
sudo av install cask:devtunnel
```

其他安装命令:

### macOS

- Homebrew Cask (100%):

```sh
brew install --cask devtunnel
```

  证据: local Homebrew cask metadata

## 软件包事实

- **软件包键:** cask:devtunnel
- **软件包管理器:** Homebrew Cask
- **版本:** 1.0.2014+3c9645ccd8
- **来源摘要:** Provides developers secure tunnels to share local web services
- **主页:** <https://aka.ms/devtunnels/docs>
- **最后更新:** 2026-07-30T19:10:18Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- devtunnel (二进制)
- devtunnel (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

devtunnel is Microsoft's command-line client for Dev Tunnels, a service for securely sharing localhost services over the internet during development and testing.

### 项目历史

Microsoft Learn presents Dev Tunnels as an Azure developer feature and describes it as public preview. The CLI is distributed as devtunnel and is installed through platform-native channels such as winget on Windows, Homebrew on macOS, and install scripts or direct downloads on Unix-like systems.

### 采用历史

The tool fits the same developer workflow niche as local tunnel utilities used for webhooks, remote demos, and cloud callback testing, but with Microsoft account, Microsoft Entra ID, and GitHub account authentication. The official docs emphasize secure-by-default access, persistent URLs, multiple simultaneous ports, global service availability, and inspection support.

### 使用方式

A typical package-manager user installs devtunnel, signs in with devtunnel user login, and hosts a local port with devtunnel host -p 8080. The get-started guide shows the CLI printing public and inspection URLs for the hosted local service.

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

devtunnel is package-nerd relevant because it turns a cloud relay service into a small cross-platform CLI. The cask tracks a proprietary binary, but the executable behaves like familiar Unix-style networking tools: login, host a port, print URLs, and compose with local development servers.

### 时间线

- Public preview: Microsoft Learn marks Dev Tunnels as public preview and not recommended for production workloads.
- Homebrew cask distribution: the official get-started guide documents brew install --cask devtunnel for macOS.

### Related projects

- Azure Dev Tunnels is the service behind the CLI.
- Visual Studio and Microsoft developer tooling are adjacent ecosystems for the same tunneling service.

### 来源

- <https://learn.microsoft.com/en-us/azure/developer/dev-tunnels/overview>
- <https://learn.microsoft.com/en-us/azure/developer/dev-tunnels/get-started>


## 安全说明

没有找到 devtunnel 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


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

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


## Combined YAML source

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


## 来源

- pkg.so package database
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
