After setting up Linux, a quick terminal summary can show details about the system. Neofetch is a Bash command-line program that prints selected system details beside a logo made from text characters.
I’ll show how to install Neofetch and customize its display. I’ll also explain what the archived upstream project means for maintenance.
TL;DR
Neofetch prints a terminal summary beside a distribution logo, and its per-user Bash configuration controls which details appear.
- Check your distribution’s current package source before installing Neofetch.
- Run neofetch in a terminal after installation to display the default summary.
- Edit the user’s config.conf file to change information lines or their order.
- The original upstream repository is archived. Choose Fastfetch if ongoing project maintenance is a requirement.
What Is Neofetch in Linux?
Neofetch is a Bash command-line program that gathers selected system details and prints them beside an ASCII logo in a terminal. The upstream README lists Bash 3.2 or later as its runtime requirement.
The Bash requirement belongs to the script, not necessarily to your interactive shell. For a manual install, compare the target system’s Bash version with that requirement before following the Makefile route.
| Example field | What it identifies |
|---|---|
| Distribution | The Linux distribution reported by the system |
| Kernel | The running Linux kernel version |
| Shell | The command interpreter used in the terminal |
| Uptime | Time since the system started |
| Packages | A summary from package managers Neofetch recognizes |
| Memory | Memory use reported by the system |
| Resolution | Display size detected by Neofetch |
| Desktop | Desktop environment or window manager |
For performance diagnosis, use a system monitor because Neofetch’s summary does not explain how an individual process uses resources.
The original Neofetch repository on GitHub was archived on April 26, 2024. Its upstream project is read-only, so package status and upstream maintenance are separate questions.
How to Install and Customize Neofetch in Linux
A distribution package keeps Neofetch in the package manager’s install and removal records. This walkthrough checks that path before showing installation.
Step 1: Check whether your distribution offers Neofetch
The upstream installation page names package-manager commands for Debian-family and Arch Linux systems.
apt-cache show neofetch
pacman -Si neofetch
| Check | What it answers |
|---|---|
| Repository query | Whether a configured source has a package record |
| Installed-package list | Whether the package manager records Neofetch as installed |
| Shell command lookup | Whether the current shell can find the executable |
Both commands are read-only queries and leave package state unchanged.
Use only the line for your package manager. For another distribution, follow its official package search documentation instead of translating these commands.
Step 2: Install the package
Installing a system package changes files outside your home directory and requires administrator authorization on a typical Linux setup.
sudo apt install neofetch
sudo pacman -S neofetch
Choose the matching line and review the proposed transaction, then cancel if it would remove unrelated packages. If installation fails, check the package manager’s error and distribution guidance before trying a different source.
The Makefile method in the upstream guide installs outside the package-managed path, so inspect its install target and removal instructions first. This gives you the file locations to track.
Step 3: Run Neofetch
After installation, launch the program by entering its command name in a terminal. It reads system details and uses the detected operating-system logo unless the command options or user configuration select another one.
neofetch
Inspect the displayed logo and information lines before changing the configuration. If the shell cannot find Neofetch, check the installed-package record instead of editing a configuration file that is not being read.
Step 4: Customize information and display settings
The documented Linux user configuration is at ~/.config/neofetch/config.conf. The upstream wiki says a correct package or Makefile installation copies the default there on first run. If the file is missing, follow your package’s instructions before running the backup command.
cp ~/.config/neofetch/config.conf ~/.config/neofetch/config.conf.backup
nano ~/.config/neofetch/config.conf
Because this path is under the home directory, the settings apply to the account running Neofetch.
The print_info function contains the info calls that build the text portion of the output.
| Change | What to edit | Effect |
|---|---|---|
| Hide a line | Comment out its info call | That item is omitted |
| Reorder lines | Move an info call within the function | The summary order changes |
| Rename a label | Change the display label | The text changes while the source module stays the same |
The default function also includes layout helpers for the title and underline. They affect how the column is presented, not which system value a module reads.
The configuration wiki also documents a prin helper for custom text lines, separate from built-in info modules. Use it when the value you want is not exposed by one of those modules.
The default file also has settings that change how selected values are formatted.
| Setting | Available choice | Effect |
|---|---|---|
| Memory percentage | On or off | Adds or removes the percentage from the memory line |
| Memory unit | KiB, MiB or GiB | Changes the unit used for memory values |
| Shell path | On or off | Shows the path to the shell executable |
| Shell version | On or off | Shows the shell version |
| Uptime format | On, tiny or off | Shortens or hides uptime text |
| Package display | On, tiny or off | Changes how package-manager names appear |
| Kernel shorthand | On or off | Uses a shorter or fuller kernel label |
The archived config wiki presents the Neofetch 7.1.0 default. Compare it with the file supplied by your package before copying a setting.
Use a familiar editor and save after one change, then run Neofetch to check the result. If the new run stops working, restore the backup or compare the file with the package’s default configuration. Changing one setting at a time makes the cause clearer.
Neofetch also supports a command-line option for adjusting the text colors.
neofetch --colors 4 6 1 8 8 6
The documented default uses the distribution’s colors.
The six values correspond to distinct parts of the output. The table shows their order so you can change one position without guessing what the next number controls. Neofetch uses terminal color indices rather than storing RGB values, so the same command can look different after a terminal theme changes.
| Position | Text part |
|---|---|
| 1 | Title |
| 2 | @ separator |
| 3 | Underline |
| 4 | Subtitle |
| 5 | Colon |
| 6 | Information text |
To keep a color choice, set the matching colors option in the user configuration. Try a temporary command first, then copy only the values you want into the saved file.
Any command added to the configuration runs with your user privileges when Neofetch loads it. Inspect new code before saving, and do not run Neofetch as root just to display information.
Step 5: Select a logo or image mode
Use an ASCII distribution logo or your own text file when you want a mark that does not depend on terminal graphics support.
neofetch --ascii_distro Ubuntu
neofetch --source /path/to/logo.txt
| Option | Input | What to check |
|---|---|---|
| ASCII distribution logo | A name Neofetch recognizes | Use a text logo that matches your preference |
| Custom ASCII source | A readable plain-text file | Confirm the path points to the file you created |
| Automatic source | Auto | Uses distro art in ASCII mode or wallpaper in image mode |
| Raster image | A supported backend and terminal protocol | Check that terminal’s graphics documentation |
Command options let you test a logo for the current run, while a matching config setting keeps the choice on later runs. Raster images use a separate path because the terminal must understand the chosen backend. The archived config lists kitty and w3m as examples, so check current terminal support before selecting one.
Neofetch Limits and Common Fixes
Choose a fix by symptom because each failure points to a different part of the setup. The table maps common symptoms to a check and next action.
| Symptom | Check | Next action |
|---|---|---|
| Command not found | Installed-package record and executable search path | Confirm installation, then follow the package manager’s file or command guidance |
| Package not found | Repositories configured for the current distribution release | Use the official package search and avoid stale third-party instructions |
| Image does not appear | Terminal graphics protocol and selected Neofetch backend | Try an ASCII logo, then check the terminal’s supported protocol |
| Config change has no effect | User config location and function syntax | Run Neofetch after one change or restore the backup |
| One information line is missing | Whether that line is enabled in print_info | Compare the setting with the package’s default config |
Fastfetch is a maintained Neofetch-like alternative with its own configuration format. If you switch, note the fields and logo mode you use, recreate them from its current documentation, and compare the output before removing Neofetch.
Conclusion
If you are adjusting the surrounding shell, see our Linux terminal customization guide and guide to Linux terminal emulators. The first covers appearance, while the second helps compare terminal choices.
For the Bash syntax used in Neofetch’s configuration, read our Bash shell scripting guide.
FAQ
These answers address the maintenance, configuration and display questions readers commonly have.
Is Neofetch still maintained?
The original Neofetch GitHub repository was archived on April 26, 2024. Existing releases or distribution packages may still run, but the upstream project is read-only.
Where is the Neofetch configuration file in Linux?
The documented per-user configuration path is ~/.config/neofetch/config.conf. It is a Bash script that controls the displayed information and layout.
Why does Neofetch not display an image?
Image display depends on the terminal’s graphics support and the backend selected in Neofetch. Check the terminal documentation and try an ASCII logo if image support is unavailable.
What is a maintained alternative to Neofetch?
Fastfetch is a maintained Neofetch-like system-information tool. Its configuration format differs, so follow the Fastfetch documentation when switching.
How can I change Neofetch colors?
Use the command-line colors option to test a palette for one run. Set the corresponding option in the user configuration to keep it.
Can I use a custom ASCII logo?
Yes. The source option accepts a path to a text file containing ASCII art. Check that the path is readable by the account running Neofetch.
How do I change the memory unit?
Change the memory unit setting in the user configuration to KiB, MiB or GiB. This changes how Neofetch formats the value.
Can I add a custom information line?
The configuration wiki documents a prin helper for custom text lines. Review any Bash code you add because Neofetch runs the configuration as your user.
