# 使用 Homebrew, apt 安装 telegram-send

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

## 安装

```sh
sudo av install brew:telegram-send
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install telegram-send
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install telegram-send
```

  证据: Debian stable package indexes: telegram-send from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## 软件包事实

- **软件包键:** brew:telegram-send
- **软件包管理器:** Homebrew
- **版本:** 0.39.2
- **来源摘要:** Command-line tool to send Telegram messages
- **主页:** <https://pypi.org/project/telegram-send/>
- **仓库:** <https://github.com/rahiel/telegram-send>
- **最后更新:** 2026-07-12T22:48:19-07:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- telegram-send (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

telegram-send is a Python command-line tool for sending Telegram messages and files to a user, group, or channel. It became useful to shell users because it turns Telegram into a notification target for scripts, cron, and long-running commands.

### 项目历史

The rahiel/telegram-send repository was created in April 2016, and PyPI shows early 0.3 and 0.5 releases in May 2016. The early project description already framed it as a command-line tool to send messages and files over Telegram from other programs.

The current README and PyPI page broaden the supported message types and installation paths while keeping the same core idea: configure a bot-backed Telegram destination once, then call `telegram-send` from scripts or pipelines.

### 采用历史

telegram-send reached package-manager users through PyPI, Homebrew, Debian, and Ubuntu packaging. Its PyPI classifiers mark it as production/stable and aimed at developers and desktop users on POSIX and Windows.

The tool's adoption niche is pragmatic rather than platform-scale: it is the small CLI people install when they want shell alerts in Telegram without writing Bot API code.

### 使用方式

Official examples include sending strings, stdin, files, images, stickers, video, audio, and locations; configuring accounts, groups, or channels; alerting when shell commands complete; and piping cron output through `telegram-send -g --stdin`.

Package users care about its config-file behavior because the configured bot token and chat state are the durable part. The global `/etc/telegram-send.conf` mode makes it usable from cron jobs and system scripts.

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

telegram-send is package-nerd significant because it is tiny glue with high leverage: install one executable and a system can notify a human through Telegram from shell, cron, Supervisor, or Python.

Its history is a classic CLI utility arc: a small PyPI project became distro-packaged because the command is easier to standardize than every script reimplementing Telegram Bot API calls.

### 时间线

- 2016: rahiel/telegram-send repository created.
- 2016: PyPI publishes early telegram-send releases, including 0.3 and 0.5.
- 2022: PyPI release history shows continued 0.3x maintenance.
- 2026: telegram-send 0.39.2 is published on PyPI.

### Related projects

- Telegram Bot API is the service API underneath the workflow.
- pipx is recommended in current install docs for isolated Python CLI installation.
- ntfy is mentioned in the README as another notification tool for long-running commands.

### 来源

- <https://github.com/rahiel/telegram-send>
- <https://pypi.org/project/telegram-send/>
- <https://pypi.org/project/telegram-send/0.3/>
- <https://pypi.org/project/telegram-send/0.5/>


## 安全说明

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



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /etc/telegram-send.conf

## Credential files

- Unix: /etc/telegram-send.conf, user_config_dir("telegram-send") + ".conf"
## 其他软件包管理器记录

- Debian apt - telegram-send - 0.37-3: normalized package name match | Debian stable package indexes: telegram-send from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Send messages and files over Telegram from the command-line | https://github.com/rahiel/telegram-send
- Ubuntu apt - telegram-send - 0.37-2: normalized package name match | Ubuntu 24.04 LTS package indexes: telegram-send from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Send messages and files over Telegram from the command-line | https://github.com/rahiel/telegram-send


## Combined YAML source

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


## 来源

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