How to Fix bash: tio: command not found in Minimal Linux Distributions

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:

  1. On Debian/Ubuntu systems, add your user account to the dialout group:
    sudo usermod -aG dialout $USER
  2. On Arch and Fedora systems, add your account to the uucp group:
    sudo usermod -aG uucp $USER
  3. Log out and log back in, or run newgrp dialout to refresh active group tokens.

Verify Serial Port Discovery and Execution

Confirm binary presence and test connection to connected microcontrollers or serial consoles:

  1. Confirm that the binary is located in your system PATH:
    which tio && tio --version
  2. List all currently connected serial interfaces:
    tio --list
  3. Connect to a serial device at 115200 baud:
    tio -b 115200 /dev/ttyUSB0

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.