fm logo

fm

Terminal-based file manager built with Go and Bubble Tea framework

install

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

add a badge to your README

Maintain fm? Show that it's featured on trmn. The badge links back to this page.

Featured on trmn
Markdown
[![Featured on trmn](https://www.trmn.sh/badge/fm.svg)](https://www.trmn.sh/tools/fm?utm_source=badge)
HTML
<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>