LinuxCommandLibrary

neofetch

Display system information

TLDR

Return the default config, and create it if it's the first time the program runs

$ neofetch
copy

Trigger an info line from appearing in the output, where 'infoname' is the function name in the configuration file, e.g. memory
$ neofetch --[enable|disable] [infoname]
copy

Hide/Show OS architecture
$ neofetch --os_arch [on|off]
copy

Enable/Disable CPU brand in output
$ neofetch --cpu_brand [on|off]
copy

SYNOPSIS

neofetch [options]

PARAMETERS

--config path
    Specify a custom configuration file path instead of the default.

--ascii_distro distro_name
    Forces a specific distribution's ASCII art logo to be used.
Use 'auto' to detect automatically, or 'off' to disable the logo.

--no_display_logo
    Disables the display of the ASCII logo entirely, showing only system info.

--disable info_key
    Disables a specific info line from displaying.
Can be used multiple times, e.g., --disable cpu --disable memory.

--enable info_key
    Enables a specific info line that might be disabled by default or in a config file.
Useful for debugging or quick tests.

--short_uptime
    Displays uptime in a shorter, more concise format (e.g., 1d 5h).

--short_memory
    Displays memory in a shorter format (e.g., 1.5GiB / 8GiB).

--version
    Displays the current version of Neofetch and exits.

--help
    Displays a comprehensive help message with all available command-line options.

DESCRIPTION

Neofetch is a fast, highly customizable
command-line system information tool.
It displays system information next to an image,
which can be your distribution's logo (ASCII art),
a custom image, or any image file.
It aims to be simple, clean, and
provide a quick overview of your system's
configuration.

Information commonly displayed includes
your Operating System, Host, Kernel, Uptime,
Packages, Shell, Resolution, Desktop Environment,
Window Manager, Theme, Icons, Terminal,
Terminal Font, CPU, GPU, and Memory usage.
Its aesthetic output makes it popular for
sharing system specs, especially within
Linux communities, often featured in screenshots
of customized terminal setups.

CAVEATS

While highly customizable, Neofetch relies on
various external system tools and files to gather information.
Missing dependencies for specific information
(e.g., sensors for temperature, imagemagick for image support)
might result in missing or incorrect output.
Its ASCII art might not render perfectly in all terminal
emulators or with certain fonts.
It's primarily a community-driven project and
not part of standard GNU core utilities.

CONFIGURATION FILE

Neofetch offers extensive customization through its
configuration file, typically found at
~/.config/neofetch/config.conf.
This file allows users to define what information
is displayed, its order, colors, alignment,
ASCII art source, and many other aspects,
providing unparalleled control over the output.

COMMUNITY AND AESTHETICS

One of Neofetch's primary appeals is its
aesthetic output, which has made it a
favorite among users on platforms like
r/unixporn. It's often the first
command executed to showcase a
newly configured Linux desktop,
highlighting the user's choices in
distribution, desktop environment,
window manager, and theme in a visually
appealing format.

HISTORY

Neofetch was created by Dylan Araps
and quickly gained popularity as a more
modern and highly customizable alternative
to existing tools like screenfetch.
Its development focused on providing a
clean, efficient, and aesthetically pleasing
system information display, often seen
as a staple in screenshots shared by
Linux enthusiasts showcasing their
highly personalized desktop environments.
It has been widely adopted across
various Linux distributions.

SEE ALSO

screenfetch(1), htop(1), uname(1), lsb_release(1), free(1), lscpu(1), lspci(8)

Copied to clipboard