# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, zypper 安装 tio

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

## 安装

```sh
sudo av install brew:tio
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tio
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install tio
```

  证据: MacPorts ports tree: comms/tio/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add tio
```

  证据: Alpine Linux edge package indexes: tio from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install tio
```

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

- dnf (92%):

```sh
sudo dnf install tio
```

  证据: Fedora Rawhide package metadata: tio from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#tio
```

  证据: nixpkgs package indexes: pkgs/by-name/ti/tio/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install tio
```

  证据: openSUSE Tumbleweed package metadata: tio from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:tio
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/tio>
- **版本:** 3.9
- **来源摘要:** Simple TTY terminal I/O application
- **主页:** <https://tio.github.io>
- **仓库:** <https://github.com/tio/tio>
- **上游文档:** <https://tio.github.io>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://github.com/tio/tio/releases/download/v3.9/tio-3.9.tar.xz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- tio (cli)
- tio (别名)

## 依赖

- glib
- lua

## 构建依赖

- meson
- ninja
- pkgconf

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 3.9
- 本地数据: OK
- 上游仓库: https://github.com/tio/tio
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

tio is a serial TTY terminal I/O tool built for straightforward interaction with serial devices. Its niche is embedded-development and hardware-hacking workflows where a user wants a small command-line serial console that behaves well inside terminal multiplexers.

### 项目历史

The tio README states the motivation directly: it was created as a simpler serial-device tool with less focus on classic terminal or modem features and more focus on embedded developers and hackers. It was originally an alternative to GNU screen for connecting to serial devices while working inside tmux.

The GitHub repository was created in September 2014, and the project has grown from a simple serial connection utility into a featureful serial-console tool. The README now documents automatic serial-port detection and reconnect, topology IDs, non-standard baud rates, mark and space parity, XMODEM/YMODEM upload, RS-485 mode, line and hex modes, timestamping, logging, socket redirection, piping, shell-command redirection, Bash completion, and Lua scripting.

### 采用历史

tio's adoption is visible through broad distro packaging. The input metadata lists packages for apk, Homebrew, Debian, Fedora/DNF, MacPorts, Nix, Ubuntu, and openSUSE/zypper, which matches its role as a small systems utility rather than a language-ecosystem package.

The project is especially attractive to package-manager users because it replaces ad hoc use of screen, minicom, picocom, or custom serial scripts with one documented binary and a man page. The README's examples focus on common package-nerd hardware tasks: connecting to /dev/ttyUSB0, listing serial devices, preferring /dev/serial/by-id paths, reconnecting after unplug/replug, and using TID values when stable by-id paths are unavailable.

### 使用方式

The common invocation is simply tio /dev/ttyUSB0, using defaults such as 115200 8n1. Users can add options for baud rate, parity, flow control, timestamping, logging, character mapping, or automatic connection behavior.

More advanced usage includes configuration profiles, include files for profile organization, line-mode history/editing, Lua automation, x/y-modem file transfers, and redirecting a serial session through a socket or shell command.

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

tio is a classic small-tool package: one binary, clear man page, no account or cloud service, and immediate usefulness after install. It is significant because serial consoles remain a daily need for embedded boards, dev kits, bootloaders, firmware bring-up, and hardware debugging, while modern terminals and tmux are otherwise inconvenient with older serial-console tools.

### 时间线

- 2014-09-27: The tio GitHub repository was created.
- 2024-06-29: tio v3.5 added configuration include support and improved device listing behavior.
- 2024-08-31: tio v3.7 continued Lua API and timestamp work.
- 2025-04-13: tio v3.9 was released with timestamp parsing fixes and documentation updates.

### Related projects

- GNU screen is the comparison named by the README as tio's original alternative target.
- tmux is part of the original usage motivation because tio was designed to pair well with terminal multiplexers.
- minicom and picocom are adjacent serial-console tools in the same package-manager niche.

### 来源

- <https://api.github.com/repos/tio/tio>
- <https://github.com/tio/tio#readme>
- <https://raw.githubusercontent.com/tio/tio/master/NEWS>
- <https://raw.githubusercontent.com/tio/tio/master/man/tio.1.txt>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## 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: $XDG_CONFIG_HOME/tio/config, ~/.config/tio/config, ~/.tioconfig
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** tio
- **Version Scheme:** 0
- **Revision:** 1
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Debian apt - tio - 3.9-1: normalized package name match | Debian stable package indexes: tio from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | simple TTY terminal I/O application | https://tio.github.io/
- Nix - tio: normalized package name match | nixpkgs package indexes: pkgs/by-name/ti/tio/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - tio - 2.7-1: normalized package name match | Ubuntu 24.04 LTS package indexes: tio from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | simple TTY terminal I/O application | https://tio.github.io/
- apk - tio - 3.9-r1: normalized package name match | Alpine Linux edge package indexes: tio from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Simple TTY Terminal I/O Application | https://github.com/tio/tio
- apk - tio-bash-completion - 3.9-r1: normalized package name match | Alpine Linux edge package indexes: tio-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for tio | https://github.com/tio/tio
- apk - tio-doc - 3.9-r1: normalized package name match | Alpine Linux edge package indexes: tio-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Simple TTY Terminal I/O Application (documentation) | https://github.com/tio/tio
- dnf - tio - 3.9-6.fc45: normalized package name match | Fedora Rawhide package metadata: tio from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Simple TTY terminal I/O application | https://tio.github.io/
- zypper - tio - 3.9-1.5: normalized package name match | openSUSE Tumbleweed package metadata: tio from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Simple TTY terminal I/O application | https://tio.github.io/
- zypper - tio-bash-completion - 3.9-1.5: normalized package name match | openSUSE Tumbleweed package metadata: tio-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for tio | https://tio.github.io/
- MacPorts - tio: normalized package name match | MacPorts ports tree: comms/tio/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [glib](https://pkg.so/zh-hans/brew/glib/) - Runtime dependency declared by Homebrew.
- [lua](https://pkg.so/zh-hans/brew/lua/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [ninja](https://pkg.so/zh-hans/brew/ninja/) - Build dependency declared by Homebrew.
- [meson](https://pkg.so/zh-hans/brew/meson/) - Build dependency declared by Homebrew.
- [picocom](https://pkg.so/zh-hans/brew/picocom/) - Shares pkgdb curated category or tags: cli, embedded, serial, system, terminal.
- [cocot](https://pkg.so/zh-hans/brew/cocot/) - Shares pkgdb curated category or tags: cli, system, terminal, tty.
- [tree](https://pkg.so/zh-hans/brew/tree/) - Shares pkgdb curated category or tags: cli, system, terminal.
- [htop](https://pkg.so/zh-hans/brew/htop/) - Shares pkgdb curated category or tags: cli, system, terminal.
- [eza](https://pkg.so/zh-hans/brew/eza/) - Shares pkgdb curated category or tags: cli, system, terminal.
- [watch](https://pkg.so/zh-hans/brew/watch/) - Shares pkgdb curated category or tags: cli, system, terminal.
- [pv](https://pkg.so/zh-hans/brew/pv/) - Shares pkgdb curated category or tags: cli, system, terminal.
- [nushell](https://pkg.so/zh-hans/brew/nushell/) - Shares pkgdb curated category or tags: cli, system, terminal.
- [bootterm](https://pkg.so/zh-hans/brew/bootterm/) - Local package facts share a topical domain. Shared terms: cli, embedded, serial, simple, system.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
