Where Is the Neofetch Config File?
Neofetch creates ~/.config/neofetch/config.conf on first run. It works on Linux and macOS with the same path.
Last updated
Neofetch writes its config the first time it runs, so a fresh install shows system info before any file exists. Look in ~/.config/neofetch after that first launch and config.conf will be there.
The file is really a bash script with a print_info function. Comment out lines to hide rows, reorder them to change the layout. Older installs sometimes used a file named config without the .conf suffix, so check for both if the expected one is absent.
Where Neofetch stores this, by platform
~/.config/neofetch/config.conf
Auto-created on first run. Respects XDG_CONFIG_HOME, so it moves if you relocated your config dir. Bash script you edit to pick which rows print.
~/.config/neofetch/config.conf
Same relative path as Linux. Homebrew and manual installs both follow XDG here, so no separate Mac location to learn.
Frequently asked questions
My Neofetch config is missing. How do I get it back?
Neofetch writes it on first launch. If you deleted it, just run neofetch again and a fresh default appears. Copy /usr/share/neofetch/config over it to reset by hand.
How do I run Neofetch without a config?
Pass --config none to skip it for one run, or --config /path/to/file to use another file. The flag applies to that run only and changes nothing on disk.
Notice an outdated path? Let us know.