LinuxmacOS

Where Is the Neofetch Config File?

Neofetch config.conf location under ~/.config/neofetch and how to regenerate defaults.

Last updated

Neofetch reads a single config.conf from its XDG config directory, controlling which info blocks print and in what order. The file does not exist on first run; the program falls back to compiled defaults.

Generate the annotated default once and edit that. Every option documents itself inline, so the file doubles as its own manual.

Where Neofetch stores this, by platform

Linux
~/.config/neofetch/config.conf

Main and only config file. Regenerate it with neofetch --gen-config if yours is missing or mangled. ASCII distro art and image backends are all selected here.

macOS
~/.config/neofetch/config.conf

Same path and format as Linux. Image display backends vary by terminal, so test thumbnails after changing the backend option.

Frequently asked questions

How do I reset Neofetch to defaults?

Delete config.conf and run neofetch once, or run neofetch --gen-config to rewrite the annotated file.

Where do I change which info Neofetch shows?

In the print_info function inside config.conf. Reorder or comment lines there to reshape the output block.

Notice an outdated path? Let us know.