Managing files

Kooper File kf

A twin-window file manager for the terminal, with the look of the DOS classic Stereo Shell and the commands and keys of FreeCommander.

Runs
In a terminal
Platforms
macOS, Linux, Windows, FreeBSD
Built with
Go, tcell
Latest release
v1.0.0, 4 December 2026
Licence
Apache 2.0

Overview

Two-pane file managers are still the fastest way to move files around: the source on one side, the destination on the other, and a function key for every job. Kooper File (kf) is one for the terminal. Its screen is the 1993 DOS program Stereo Shell 4.10: blue and red file windows, the shared folder window in the centre and the classic colours, with a black-and-white scheme too. Its commands, menus and keyboard shortcuts follow FreeCommander XE.

Usage
kf                     # the current folder on both sides
kf ~/Projects ~/Downloads
kf --classic           # an 80x25 page in the middle of the terminal
kf --mono              # black and white (also when NO_COLOR is set)
kf --version

The centre window lists the sub-folders of whichever side is hooked (active): its frame joins onto that side. The hooked side is the source of every command, and the other side is the default target of copy, move, pack and unpack. Esc opens the menu bar: File, Edit, Folder, Favorites, View, Tools and Help. Every command is in a menu with its shortcut beside it, and Help → Keyboard shortcuts lists them all.

Download

Kooper File 1.0.0 · v1.0.0 · released 4 December 2026 · release notes · all releases

Rename the file to kf (kf.exe on Windows), make it executable and put it somewhere on your PATH. SHA256SUMS has the checksum of every file: sha256sum -c SHA256SUMS --ignore-missing (shasum -a 256 -c on macOS).

The binaries aren't signed, so macOS may refuse to open one downloaded with a browser: allow it under System Settings → Privacy & Security, or run xattr -d com.apple.quarantine kf. On Windows, SmartScreen may ask you to choose More info → Run anyway.

With Go
go install github.com/colboycolinmeeks/kooperfile@latest

Screenshots

Quick view
The menus

The function keys

KeyAction
F1 / Shift+F1Help / view settings menu
F2Rename (with several selected: multi rename)
F3View (an archive opens in the archive browser; a folder shows its size)
F4 / Shift+F4Edit / create a file and edit it
F5 / Shift+F5Copy with a dialog / copy at once to the other panel
F6 / Shift+F6Move with a dialog / move at once
F7New folder (a|b makes two, a/b/c nested)
Del, F8 / Shift+DelDelete to the trash / permanently
F9File windows show dates, times or comments
F10 / F11 / F12One or two panels / full terminal or 80x25 / settings
Alt+F5 / Alt+F6Pack / unpack
Alt+F7, Ctrl+FSearch by name, text, date, size or duplicates

If your terminal keeps F1, F10, F11 or Alt for itself, use the menus (Esc) or click the bottom bar. On macOS, turn on Use Option as Meta key (Terminal) or Left Option key: Esc+ (iTerm2) for Alt.

Selecting and getting around

KeysAction
Space / Ins / Shift+arrowsSelect and move down (Space on a folder also sizes it)
+ / - / * / Ctrl+ASelect a group / unselect a group / invert / select all
lettersQuick search; ↑ and ↓ find the next match
Ctrl+X / Ctrl+C / Ctrl+VCut / copy / paste files
EnterOpen a folder, archive, checksum file (verify), program or file
Backspace / Ctrl+HomeUp one level / root
Alt+← / Alt+→ / Alt+↓Back / forward / history
Alt+↑, Alt+GFavorites, go to a folder (Tab completes)
Ctrl+QQuick view: the other side previews the file
Ctrl+E / Ctrl+USame folder in the other panel / swap the panels
Alt+V / Alt+SCompare folders / synchronise them
Ctrl+F3 … Ctrl+F6Sort by name, extension, date or size (again: reverse)
TabSwitch panels

Sorting by name is natural, as in Finder and FreeCommander: case doesn't matter, numbers sort by value (file2 before file10), and a name sorts before its longer variants. The mouse works too: click to move, double-click to open, the right button for the context menu, and the wheel to scroll.

Copies, archives and long jobs

  • Copy, move, delete, pack, search, checksums, split, combine and synchronise run in the background with a progress bar, and Esc asks whether to cancel.
  • When a copied file already exists you're asked: [Y]es, [A]ll, [O]lder all, [N]o, [S]kip all, [R]ename. The copy dialog can set the same for the whole job.
  • Archives: zip, tar and tar.gz are built in. Programs you name in the settings add 7z, xz, bz2, lzh, arj and rar.
  • Deleting goes to the system trash on macOS, Linux (freedesktop) and Windows.
  • Name filters take FreeCommander's syntax: *.txt;*.doc (either), pdf&inv (both), ~*.bak (all but) or re:^a.*z$ (a regular expression).
  • The viewer (F3) pages through text, switches to hex with F1, and shows files that aren't UTF-8 as DOS code page 437.

Settings, favorites and tools

kf.json lives in your config folder (Settings, F12, shows where), or wherever KF_CFG points. Tools → Define favorite tools opens it in your editor.

kf.json
"favorite_tools": [
  { "label": "Disk usage of folder", "command": "du -sh %d", "pause": true },
  { "label": "Diff with other side",  "command": "diff %f %o/%n | less" }
],
"favorites": [
  { "name": "Projects", "path": "/Users/me/git", "other": "/Users/me/Downloads" }
],
"launchers": [ { "ext": "md", "command": "glow %f" } ],
"size_format": "short",
"use_trash": true

In commands, %f is the file, %n its name, %d the active folder, %o the other folder and %m the selection, each one shell-quoted. Favorite tools run on Alt+1 … Alt+0.

Leaving kf in the last folder

A program can't change its shell's folder, so add this to ~/.zshrc or ~/.bashrc and run kfcd:

kfcd() {
  local f; f=$(mktemp) || return
  command kf --cwd-file "$f" "$@"
  [ -s "$f" ] && cd -- "$(cat "$f")"
  rm -f "$f"
}

Building from source

Kooper File needs Go 1.24 or newer. It's pure Go, with no C toolchain needed.

make build        # bin/kf
make run          # build and run
make check        # fmt-check, vet, staticcheck, tests
make dist         # cross-compile for macOS, Linux, Windows and FreeBSD
make install      # copy to /usr/local/bin (PREFIX=... to change)

go install github.com/colboycolinmeeks/kooperfile@latest names the binary kooperfile; rename it to kf if you like.