LinuxAlternative

Linux · System Tools

neofetch

Neofetch is a CLI tool that displays system information and an ASCII logo in the terminal.

Open sourceFree
Be the first to rate
License
MIT
Latest version
7.1.0

What is neofetch?

Neofetch is a lightweight Bash script that gathers hardware and OS details and prints them alongside a distro logo. It originated around 2015 and has been maintained by the community, so it works on most Linux distributions and even macOS. Its output is static text, not a graphical interface like DxDiag.

The tool is aimed at users who like to show off their setup in screenshots, document system specs, or quickly verify configuration from the terminal. It appeals to developers, sysadmins, and hobbyists who spend most of their time in a shell.

Compared with Windows' DxDiag, Neofetch feels more minimal and customizable. It doesn't run diagnostics or benchmarks; it simply reports what the OS reports. The output is plain text, so you can pipe it to files or other commands, which is a different workflow from the GUI‑based DxDiag.

Best for: Anyone who wants a quick, customizable snapshot of system specs in the terminal.

Key features of neofetch

  • Shows OS, kernel, uptime, packages, shell, resolution, DE/WM, theme, icons, CPU, GPU, RAM
  • Displays ASCII art of the distro logo
  • Highly configurable via a config file
  • Supports many Linux distros, BSD, and macOS
  • Can output JSON or plain text
  • One‑line command: neofetch
  • Works in any terminal emulator
  • No dependencies beyond core utilities

Pros

  • Very small footprint
  • Easy to install from repos
  • Customizable appearance
  • Works on remote SSH sessions
  • Free and open source

Cons

  • Only provides static info, no diagnostics
  • Limited to terminal output; no GUI
  • Configuration can be overwhelming for beginners

Windows programs neofetch replaces

How to install neofetch on Linux

Ubuntu / Mintsudo apt install neofetch

Tips for Windows users

Instead of opening DxDiag, just type neofetch in any terminal; the output can be saved with neofetch > sysinfo.txt. There are no file formats to convert, and shortcuts are simply shell aliases you can add, e.g., alias sysinfo='neofetch'. Adjust the config at ~/.config/neofetch/config.conf to match the look you prefer.

neofetch: frequently asked questions

How do I install Neofetch on Ubuntu?

Run sudo apt install neofetch.

Can I change the logo displayed?

Yes, edit the image_source line in the config file or use the --ascii_distro option.

Does Neofetch show GPU temperature?

It can show temperature if the sensor data is exposed via sensors and you enable the cpu_temp option.

How do I make Neofetch run automatically on login?

Add neofetch to your shell's startup file, such as ~/.bashrc or ~/.zshrc.

Updated