glow config tries to use nano, regardless of system settings
Author: charlesarthurriceCreated Apr 24, 2026Updated Sep 28, 2026
Describe the bug
README says "If you find yourself supplying the same flags to glow all the time, it's probably a good idea to create a config file. Run glow config, which will open it in your favorite $EDITOR."
PS C:\Users\Rice> glow config Error: unable to run command: exec: "nano": executable file not found in %PATH%
But instead of trying to use VIM, it only tries nano and fails.
Setup
- OS [Windows 11]
- Shell [Powershell 7.6]
- Terminal Emulator [Terminal]
- Terminal Multiplexer [-]
- Locale [en_US, but not UTF-8]
To Reproduce Steps to reproduce the behavior:
- make sure glow [file] works
- don't have nano
- run glow config
- get error
Source Code glow config
Expected behavior Configuration settings appear.
Additional context I might be stupid.
Source: charmbracelet/glow