NEOFETCH(1)

๐Ÿ“ฆ version 7.1.0, in debian bookworm, epel 9, ubuntu jammy, ubuntu noble

๐Ÿ’– NAME ๐Ÿ’–

Neofetch โ€” a fast, highly customizable system info script ๐Ÿ’… (yep, that's neofetch(1), User Commands, and bestie we are on part 1 of 2, so buckle up ๐Ÿฆ‹)


โœจ SYNOPSIS โœจ

neofetch func_name --option "value" --option "value"

๐ŸŒธ DESCRIPTION ๐ŸŒธ

Okay so Neofetch is a CLI system information tool written in BASH. It shows off info about your system right next to an image, your OS logo, or literally any ASCII file of your choosing. It's giving aesthetic terminal and honestly? Obsessed. ๐Ÿ˜ญ๐Ÿ’–

NOTE: Every launch flag has a config option. Every single one. No cap. ๐Ÿ‘‘

โญ OPTIONS โญ

๐Ÿ“ INFO: ๐Ÿ“

  • func_name โ€” drop in a function name (the second part of info() from your config) and it'll quickly display only that function's info. Slay, focused queen. โœจ

Example:

neofetch uptime --uptime_shorthand tiny

Example:

neofetch uptime disk wm memory

You can use this in bars and scripts like so:

memory="$(neofetch memory)"; memory="${memory##*: }"

For multiple outputs at once (each line of info in an array):

IFS=$'\n' read -d "" -ra info < <(neofetch memory uptime wm)
info=("${info[@]##*: }")
  • --disable infoname โ€” lets you yeet an info line out of the output entirely. infoname is the function name from the print_info() function inside the config file. So like, info "Memory" memory would become --disable memory ๐Ÿซถ
NOTE: You can supply multiple args. eg. neofetch --disable cpu gpu โ€” go off, disable whatever you want. ๐Ÿ’…
  • --title_fqdn on/off โ€” Hide/Show the Fully Qualified Domain Name in the title. ๐ŸŒ
  • --package_managers on/off โ€” Hide/Show Package Manager names. (on, tiny, off) ๐Ÿ“ฆ
  • --os_arch on/off โ€” Hide/Show OS architecture. ๐Ÿง 
  • --speed_type type โ€” changes the type of cpu speed that gets displayed. Possible values: current, min, max, bios, scaling_current, scaling_min, scaling_max ๐Ÿ”ฅ
NOTE: This only supports Linux with cpufreq.
  • --speed_shorthand on/off โ€” whether or not to show decimals in CPU speed. ๐Ÿงฎ
NOTE: This flag is not supported in systems with CPU speed less than 1 GHz.
  • --cpu_brand on/off โ€” Enable/Disable the CPU brand in the output. ๐Ÿ‘‘
  • --cpu_cores type โ€” whether or not to display the number of CPU cores. Possible values: logical, physical, off
NOTE: 'physical' doesn't work on BSD. ๐Ÿ˜ญ
  • --cpu_speed on/off โ€” Hide/Show cpu speed. โšก
  • --cpu_temp C/F/off โ€” Hide/Show cpu temperature. ๐ŸŒก๏ธ
NOTE: This only works on Linux and BSD.
NOTE: For FreeBSD and NetBSD-based systems, you need to enable the coretemp kernel module. This only supports newer Intel processors. (iykyk)
  • --distro_shorthand on/off โ€” Shorten the output of distro. (on, tiny, off) โœ‚๏ธ
NOTE: This option won't work in Windows (Cygwin).
  • --kernel_shorthand on/off โ€” Shorten the output of kernel. โœ‚๏ธ
NOTE: This option won't work in BSDs (except PacBSD and PC-BSD).
  • --uptime_shorthand on/off โ€” Shorten the output of uptime. (on, tiny, off) โฐ
  • --refresh_rate on/off โ€” whether to display the refresh rate of each monitor. Unsupported on Windows. ๐Ÿ–ฅ๏ธ
  • --gpu_brand on/off โ€” Enable/Disable GPU brand in the output. (AMD/NVIDIA/Intel) ๐ŸŽฎ
  • --gpu_type type โ€” which GPU to display. (all, dedicated, integrated)
NOTE: This only supports Linux.
  • --de_version on/off โ€” Show/Hide Desktop Environment version. ๐ŸชŸ
  • --gtk_shorthand on/off โ€” Shorten the output of gtk theme/icons. โœ‚๏ธ
  • --gtk2 on/off โ€” Enable/Disable gtk2 theme/font/icons output. ๐ŸŽ€
  • --gtk3 on/off โ€” Enable/Disable gtk3 theme/font/icons output. ๐ŸŽ€
  • --shell_path on/off โ€” Enable/Disable showing $SHELL path. ๐Ÿš
  • --shell_version on/off โ€” Enable/Disable showing $SHELL version. ๐Ÿš
  • --disk_show value โ€” which disks to display. Possible values: '/', '/dev/sdXX', '/path/to/mount point' ๐Ÿ’พ
NOTE: Multiple values can be given. (--disk_show '/' '/dev/sdc1')
  • --disk_subtitle type โ€” what information to append to the Disk subtitle. Takes: name, mount, dir, none ๐Ÿท๏ธ
    • 'name' shows the disk's name (sda1, sda2, etc)
    • 'mount' shows the disk's mount point (/, /mnt/Local Disk, etc)
    • 'dir' shows the basename of the disk's path. (/, Local Disk, etc)
    • 'none' shows only 'Disk' or the configured title.
  • --disk_percent on/off โ€” Hide/Show disk percent. ๐Ÿ“Š
  • --ip_host url โ€” URL to query for public IP. ๐ŸŒ
  • --ip_timeout int โ€” Public IP timeout (in seconds). โณ
  • --song_format format โ€” print the song data in a specific format (see config file). ๐ŸŽต
  • --song_shorthand on/off โ€” print the Artist/Album/Title on separate lines. ๐ŸŽค
  • --memory_percent on/off โ€” display memory percentage. ๐Ÿง 
  • --music_player player-name โ€” manually specify a player to use. Available values are listed in the config file. ๐ŸŽง

๐Ÿ’… TEXT FORMATTING: ๐Ÿ’…

  • --colors x x x x x x โ€” changes the text colors in this order: title, @, underline, subtitle, colon, info ๐ŸŒˆ
  • --underline on/off โ€” Enable/Disable the underline. โœ๏ธ
  • --underline_char char โ€” character to use when underlining the title. ๐Ÿ”ก
  • --bold on/off โ€” Enable/Disable bold text. bold bestie. ๐Ÿ˜ค
  • --separator string โ€” changes the default ':' separator to the string you specify. โœ‚๏ธ

๐ŸŽจ COLOR BLOCKS: ๐ŸŽจ

  • --color_blocks on/off โ€” Enable/Disable the color blocks. ๐ŸŸฅ๐ŸŸง๐ŸŸจ๐ŸŸฉ๐ŸŸฆ๐ŸŸช
  • --col_offset auto/num โ€” left-padding of color blocks. โฌ…๏ธ
  • --block_width num โ€” width of color blocks in spaces. ๐Ÿ“
  • --block_height num โ€” height of color blocks in lines. ๐Ÿ“
  • --block_range num num โ€” range of colors to print as blocks. ๐ŸŒˆ

๐Ÿ“Š BARS: ๐Ÿ“Š

  • --bar_char 'elapsed char' 'total char' โ€” characters to use when drawing bars. ๐Ÿ–Œ๏ธ
  • --bar_border on/off โ€” whether or not to surround the bar with '[]'. ๐Ÿ–ผ๏ธ
  • --bar_length num โ€” length in spaces to make the bars. ๐Ÿ“
  • --bar_colors num num โ€” colors to make the bar. Set in this order: elapsed, total. ๐ŸŽจ
  • --cpu_display mode โ€” Bar mode. Possible values: bar, infobar, barinfo, off ๐Ÿ”ฅ
  • --memory_display mode โ€” Bar mode. Possible values: bar, infobar, barinfo, off ๐Ÿ”ฅ
  • --battery_display mode โ€” Bar mode. Possible values: bar, infobar, barinfo, off ๐Ÿ”‹
  • --disk_display mode โ€” Bar mode. Possible values: bar, infobar, barinfo, off ๐Ÿ”ฅ

๐Ÿ–ผ๏ธ IMAGE BACKEND: ๐Ÿ–ผ๏ธ

  • --backend backend โ€” which image backend to use. Possible values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'off', 'sixel', 'tycat', 'w3m', 'kitty' ๐Ÿงš
  • --source source โ€” which image or ascii file to use. Possible values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/', 'command output' [ascii] ๐ŸŒˆ
  • --ascii source โ€” shortcut to use the 'ascii' backend. ๐ŸŽ€

NEW: neofetch --ascii "$(fortune | cowsay -W 30)" ๐Ÿ„

  • --caca source โ€” shortcut to use the 'caca' backend.
  • --chafa source โ€” shortcut to use the 'chafa' backend.
  • --iterm2 source โ€” shortcut to use the 'iterm2' backend.
  • --jp2a source โ€” shortcut to use the 'jp2a' backend.
  • --kitty source โ€” shortcut to use the 'kitty' backend.
  • --pixterm source โ€” shortcut to use the 'pixterm' backend.
  • --sixel source โ€” shortcut to use the 'sixel' backend.
  • --termpix source โ€” shortcut to use the 'termpix' backend.
  • --tycat source โ€” shortcut to use the 'tycat' backend.
  • --w3m source โ€” shortcut to use the 'w3m' backend.
  • --off โ€” shortcut to use the 'off' backend (Disable ascii art). ๐Ÿšซ
NOTE: 'source' can be any of the following: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/'

๐ŸŒˆ ASCII: ๐ŸŒˆ

  • --ascii_colors x x x x x x โ€” colors to print the ascii art. ๐ŸŽจ
  • --ascii_distro distro โ€” which Distro's ascii art to print. ๐Ÿ‘‘
NOTE: AIX, Alpine, AlterLinux, Anarchy, Android, Antergos, antiX, "AOSC OS", "AOSC OS/Retro", Apricity, ArcoLinux, ArchBox, ARCHlabs, ArchStrike, XFerience, ArchMerge, Arch, Artix, Arya, Bedrock, Bitrig, BlackArch, BLAG, BlankOn, BlueLight, bonsai, BSD, BunsenLabs, Calculate, Carbs, CentOS, Chakra, ChaletOS, Chapeau, Chrom, Cleanjaro, ClearOS, Clear_Linux, Clover, Condres, Container_Linux, CRUX, Cucumber, Debian, Deepin, DesaOS, Devuan, DracOS, DragonFly, Drauger, Elementary, EndeavourOS, Endless, EuroLinux, Exherbo, Fedora, Feren, FreeBSD, FreeMiNT, Frugalware, Funtoo, GalliumOS, Gentoo, Pentoo, gNewSense, GNOME, GNU, GoboLinux, Grombyang, Guix, Haiku, Huayra, Hyperbola, janus, Kali, KaOS, KDE_neon, Kibojoe, Kogaion, Korora, KSLinux, Kubuntu, LEDE, LFS, Linux_Lite, LMDE, Lubuntu, Lunar, macos, Mageia, MagpieOS, Mandriva, Manjaro, Maui, Mer, Minix, LinuxMint, MX_Linux, Namib, Neptune, NetBSD, Netrunner, Nitrux, NixOS, Nurunner, NuTyX, OBRevenge, OpenBSD, OpenIndiana, openmamba, OpenMandriva, OpenStage, OpenWrt, osmc, Oracle, OS Elbrus, PacBSD, Parabola, Pardus, Parrot, Parsix, TrueOS, PCLinuxOS, Peppermint, popos, Porteus, PostMarketOS, Proxmox, Puppy, PureOS, Qubes, Radix, Raspbian, Reborn_OS, Redstar, Redcore, Redhat, Refracted_Devuan, Regata, Rosa, sabotage, Sabayon, Sailfish, SalentOS, Scientific, Septor, SereneLinux, SharkLinux, Siduction, Slackware, SliTaz, SmartOS, Solus, Source_Mage, Sparky, Star, SteamOS, SunOS, openSUSE_Leap, openSUSE_Tumbleweed, openSUSE, SwagArch, Tails, Trisquel, Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-MATE, Ubuntu-Studio, Ubuntu, Venom, Void, Obarun, windows10, Windows7, Xubuntu, Zorin, and IRIX have ascii logos. ๐Ÿ˜ญ that's a lot of besties
NOTE: Arch, Ubuntu, Redhat, and Dragonfly have 'old' logo variants.
NOTE: Use '{distro name}_old' to use the old logos.
NOTE: Ubuntu has flavor variants.
NOTE: Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu-GNOME, Ubuntu-Studio, Ubuntu-Mate or Ubuntu-Budgie to use the flavors. ๐Ÿง
NOTE: Arcolinux, Dragonfly, Fedora, Alpine, Arch, Ubuntu, CRUX, Debian, Gentoo, FreeBSD, Mac, NixOS, OpenBSD, android, Antrix, CentOS, Cleanjaro, ElementaryOS, GUIX, Hyperbola, Manjaro, MXLinux, NetBSD, Parabola, POP_OS, PureOS, Slackware, SunOS, LinuxLite, OpenSUSE, Raspbian, postmarketOS, and Void have a smaller logo variant. ๐Ÿฃ
NOTE: Use '{distro name}_small' to use the small variants.
  • --ascii_bold on/off โ€” whether or not to bold the ascii logo. iconic. ๐Ÿ˜คโœจ
  • -L, --logo โ€” Hide the info text and only show the ascii logo. Just the art, no talking. ๐Ÿคซ๐ŸŽจ

๐Ÿ–ผ๏ธ IMAGE: ๐Ÿ–ผ๏ธ

  • --loop โ€” Redraw the image constantly until Ctrl+C is used. This fixes issues in some terminal emulators when using image mode. ๐Ÿ” (yes it goes forever, that's the point, hit Ctrl+C when you're done bestie)
  • --size 00px | --size 00% โ€” how to size the image. Possible values: auto, 00px, 00%, none ๐Ÿ“

  • --crop_mode mode โ€” bestie, this picks HOW we crop. It takes the values: normal, fit, fill. That's it, that's the whole vibe check. ๐Ÿ’…
  • --crop_offset value โ€” changes the crop offset but only for normal mode. Possible values are: northwest, north, northeast, west, center, east, southwest, south, southeast. Lowkey a whole compass, we love a direction moment. ๐Ÿงญโœจ
  • --xoffset px โ€” how close the image sits to the left edge of the window. Heads up tho: this only works with w3m. Not other backends. Just w3m. Periodt. ๐Ÿ™ˆ
  • --yoffset px โ€” how close the image sits to the top edge of the window. And yeah, same deal: this only works with w3m. ๐Ÿ’€
  • --bg_color color โ€” the background color shown behind a transparent image. Guess what, only works with w3m. (Are we sensing a theme? We are. ๐Ÿ˜ญ)
  • --gap num โ€” the gap between the image and the text.
NOTE: --gap can take a negative value, which will move the text closer to the left side. Negative numbers doing the most, honestly. ๐Ÿ˜Œ
  • --clean โ€” deletes cached files and thumbnails. Fresh start energy, we love to see it. ๐Ÿงผโœจ

๐Ÿซถ OTHER ๐Ÿซถ

  • --config /path/to/config โ€” specify a path to a custom config file. Your config, your rules, main character behavior. ๐Ÿ‘‘
  • --config none โ€” launches the script with NO config file at all. Raw. Unfiltered. Feral, even. ๐Ÿฆ‹
  • --no_config โ€” don't create the user config file. It simply does not get made. Respect. ๐Ÿ’…
  • --print_config โ€” prints the default config file to stdout. Great for peeking, bestie. ๐Ÿ”ฅ
  • --stdout โ€” turns off all colors AND disables any ASCII/image backend. Just pure text, no drama. ๐ŸŒธ
  • --help โ€” print this text and exit. The classic. The icon. โœจ
  • --version โ€” show neofetch version. Quick little flex. ๐Ÿ‘‘
  • -v โ€” display error messages.
  • -vv โ€” display a verbose log for error reporting. Double v for double the info when something's being dramatic. ๐Ÿ˜ญ

๐Ÿ’œ DEVELOPER ๐Ÿ’œ

  • --gen-man โ€” generates a manpage for Neofetch in your PWD. (Requires GNU help2man.) Look at you, being all meta and building docs. Nerd behavior and we support it. ๐Ÿงš

๐ŸŒˆ REPORTING BUGS ๐ŸŒˆ

Found a bug? Spill the tea, bestie โ€” report bugs to https://github.com/dylanaraps/neofetch/issues. They wanna hear it fr fr. ๐Ÿซถ


And that's the whole page, babe! This was written against Neofetch 7.1.0, dated Aug 2020 (the manpage header literally says NEOFETCH(1) โ€” iconic). Go forth and make your terminal cute. ๐Ÿ’–๐ŸŽ€๐Ÿฆ‹โœจ

๐Ÿ“ฆ where this page comes from