fm
Terminal-based file manager built with Go and Bubble Tea framework
fm is a terminal user interface file manager built with Go using the Bubble Tea framework. It provides file navigation capabilities with visual enhancements including file icons (requiring nerd fonts), syntax highlighting for source code files, and markdown rendering through the Glamour library.
The tool supports multiple themes including default, gruvbox, and nord color schemes. It can render various file types including images (PNG, JPG, JPEG) as ASCII strings and PDF files. The interface adapts to terminal resizing and includes mouse support for navigation.
Developers and terminal users can customize the syntax highlighting themes using styles from Chroma (dracula, monokai, etc.) and configure the tool to open files in their preferred editor through the EDITOR environment variable. The tool also supports copying file paths to clipboard and writing selected item paths to external files for integration with other tools.
Installation
# via Curl
curl -sfL https://raw.githubusercontent.com/mistakenelf/fm/main/install.sh | sh
# via Go
go install github.com/mistakenelf/fm@latest
# via AUR
paru -S fm-git
Alternatives & related tools
hazelnut
Terminal-based automated file organizer that watches folders and applies rules to move, copy, rename, or delete files based on patterns
deletor
File deletion tool with interactive TUI and CLI modes supporting filters, trash integration, and batch operations.
cull
Interactive TUI disk space analyzer for scanning directories, finding large files, and deleting them from the terminal.
bt
TUI file manager with tree-based navigation for manipulating files and directories in terminal
bkp
Simple command-line utility for creating numbered backups of files and directories with optional TAR archiving.
add a badge to your README
Maintain fm? Show that it's featured on trmn. The badge links back to this page.
[](https://www.trmn.sh/tools/fm?utm_source=badge)<a href="https://www.trmn.sh/tools/fm?utm_source=badge"><img src="https://www.trmn.sh/badge/fm.svg" alt="Featured on trmn" height="20"></a>