PTerm is a Go library that makes terminal output look better and more informative.
It offers a rich set of reusable components for command-line applications, including charts, progress bars, spinners, tables, trees, prompts, menus, live areas, panels, and colourful logs.
The library works without configuration, but developers can customise printers, colours, themes, layouts, and interactive elements to suit their own terminal applications.
This is free and open source software.
Key Features
- Beautifies console output for Go applications
- Includes progress bars, spinners, tables, trees, and charts
- Offers interactive prompts, select menus, and text input
- Supports colourful logs, prefixes, headers, boxes, and panels
- Provides composable printer components
- Configurable colours, themes, layouts, and output styles
- Supports ANSI colours and TrueColor terminals
- Cross-platform library for building polished command-line tools
Website: github.com/pterm/pterm
Support:
Developer: PTerm
License: MIT License
PTerm is written in Go. Learn Go with our recommended free books and free tutorials.
Related Software
| Go TUI Frameworks | |
|---|---|
| termui | Golang terminal dashboard |
| Bubble Tea | Fun, functional and stateful way to build terminal apps |
| tview | Terminal UI library with rich, interactive widgets |
| gocui | Minimalist Go package aimed at creating Console User Interfaces. |
| Tcell | Low-level Go package for portable terminal screen handling and input |
| PTerm | Go library for styled output, progress displays, and interactive prompts |
| Huh? | Go library for elegant, accessible interactive forms and prompts |
| Cobra | Library for creating powerful modern CLI applications |
| Bubbles | Reusable components for composing polished Bubble Tea applications |
| go-tui | Declarative toolkit for building interactive terminal applications |
| cview | Terminal-based user interface toolkit (fork of tview) |
| gotui | Modern Go library for creating rich interactive terminal interfaces |
| Phoenix | High-performance toolkit for building responsive terminal interfaces |
| Lip Gloss | Style definitions for nice terminal layouts |
Read our verdict in the software roundup.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.