# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **版本:** 3.9
- **来源摘要:** Simple TTY terminal I/O application
- **主页:** <https://tio.github.io>
- **仓库:** <https://github.com/tio/tio>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- tio (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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
## 其他软件包管理器记录

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
