# 使用 Homebrew 安装 airshare

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

## 安装

```sh
sudo av install brew:airshare
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install airshare
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:airshare
- **软件包管理器:** Homebrew
- **版本:** 0.1.6
- **来源摘要:** Cross-platform content sharing in a local network
- **主页:** <https://airshare.readthedocs.io/>
- **最后更新:** 2026-06-09T15:31:25Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- airshare (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Airshare is a Python CLI and module for peer-to-peer local-network content transfer. It uses multicast DNS service discovery and an HTTP gateway so files, directories, text, and clipboard content can move across nearby machines without an internet service.

### 项目历史

The official README describes Airshare as a Python-based CLI tool and module built with aiohttp and zeroconf. Its repository metadata and license text place the project in 2020 under the KuroLabs/Airshare GitHub repository.

Airshare's design centers on a small command-line interaction: one machine publishes content under a short code word and another uses the same code word to receive it. The HTTP gateway broadens the tool beyond CLI-to-CLI transfer, letting browsers and mobile devices fetch the shared content when local name resolution permits.

### 采用历史

Official installation instructions cover pip, pipx, and Homebrew, which is the usual adoption path for a Python CLI that wants to be convenient both for Python users and macOS command-line users.

The repository has tags from 0.1.0 through 0.1.6, but it exposes less public release narrative than larger projects. The safe history is therefore about its documented packaging surfaces and feature set, not a detailed organizational chronology.

### 使用方式

A typical send operation is `airshare codeword file-or-directory`; the receiver runs `airshare codeword` or visits the advertised `.local` HTTP URL. Airshare can also transfer plain text, interact with clipboards, stream large files in chunks, and be imported as a Python module.

Its practical edge is local, offline sharing: it avoids accounts and cloud storage, but depends on multicast DNS support such as Bonjour or Avahi for friendly `.local` discovery on some platforms.

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

Airshare is a tidy example of the Python CLI packaging stack meeting Homebrew. The same tool is installable with pip, pipx, and brew, while its runtime behavior depends on Python async networking libraries and host-level local-network discovery.

For package maintainers, the interesting parts are less about compilation and more about cross-platform behavior: mDNS support, clipboard integration, browser fallback, and large-file streaming all affect whether the packaged CLI feels native.

### 时间线

- 2020: README license and project authorship identify the public Airshare project era.
- 2020: Repository tags include the 0.1.x series from 0.1.0 through 0.1.6.
- 2020s: Official install docs list pip, pipx, and Homebrew installation paths.

### Related projects

- aiohttp and zeroconf are named by the README as implementation building blocks.
- Avahi and Bonjour are related platform services for multicast-DNS name resolution in Airshare's documented local-network workflow.

### 来源

- <https://airshare.readthedocs.io/en/latest>
- <https://github.com/KuroLabs/Airshare>
- <https://github.com/KuroLabs/Airshare/tags>
- source_facts.package-manager


## 安全说明

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

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


## Combined YAML source

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


## 来源

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