The tio utility is a clean, simple serial device I/O tool and terminal emulator designed for embedded hardware engineers and system administrators connecting to microcontrollers, serial consoles, and routers. Because minimal Linux server images omit serial debugging utilities by default, attempting to launch the binary results in bash: tio: command not found.
Install tio via Standard Package Repositories
Modern Linux distributions maintain compiled tio packages in their default or universe repositories:
- Ubuntu and Debian:
sudo apt update && sudo apt install -y tio - Arch Linux:
sudo pacman -S tio - Fedora and CentOS Stream / RHEL:
sudo dnf install -y epel-release && sudo dnf install -y tio - Alpine Linux:
sudo apk add tio
Configure User Permissions for Serial Devices
Accessing USB serial devices (such as /dev/ttyUSB0 or /dev/ttyACM0) requires membership in the appropriate hardware group:
- On Debian/Ubuntu systems, add your user account to the
dialoutgroup:sudo usermod -aG dialout $USER - On Arch and Fedora systems, add your account to the
uucpgroup:sudo usermod -aG uucp $USER - Log out and log back in, or run
newgrp dialoutto refresh active group tokens.
Verify Serial Port Discovery and Execution
Confirm binary presence and test connection to connected microcontrollers or serial consoles:
- Confirm that the binary is located in your system PATH:
which tio && tio --version - List all currently connected serial interfaces:
tio --list - Connect to a serial device at 115200 baud:
tio -b 115200 /dev/ttyUSB0