Dependencies - heathershaw821/neofetch GitHub Wiki
This page lists the programs/dependencies Neofetch needs to run.
NOTE: Neofetch only requires BASH, the rest of the dependencies are entirely optional and only enable additional features and functionality.
Table of Contents
- Required dependencies:
- Image mode dependencies:
- Optional dependencies:
- iOS Dependencies
- Android Dependencies
Required dependencies:
bash 3.2+- Alpine Linux: You also need
ncurses.
- Alpine Linux: You also need
Image mode dependencies:
These dependencies are required for image mode to work.
- Displaying images:
w3m-img[1]iTerm2[2]Terminology[2]kitty[2]libsixeltermpixpixtermcatimgjp2acaca-utilsorlibcaca.
- Thumbnail creation:
imagemagick - Window size: A terminal emulator that supports
\033[14t[3] orxdotoolorxwininfo + xproporxwininfo + xdpyinfo
[1] w3m-img is sometimes bundled together with w3m.
[2] Image support is built into Terminology, iTerm2 and kitty, and doesn't require w3m-img.
[3] See this wiki page for more information: Images in the terminal
Optional dependencies:
Wallpaper
Any OS running an X Server
- Desktop Environment:
XFCE,GNOME,CinnamonorMATE - Universal:
feh,nitrogenorgsettings
Windows and macOS
- No additional dependencies needed.
Disk
df
Song
- Google Play Music Desktop Player:
gpmdp-remote - MPD:
mpc - Mopidy:
mpc - CMUS
- MOC
- Spotify (requires dbus)
- Rhythmbox
- Banshee
- Amarok (requires qdbus)
- Deadbeef
- GNOME Music (requires dbus)
- Lollypop (requires dbus)
- Clementine (requires dbus)
- Pragha
- XMMS2
- Exaile music player (requires dbus)
- Juk (requires dbus)
- Bluemindo (requires dbus)
- Guayadeque (requires dbus)
Desktop Environment and Window Manager
Any OS running an X Server
xprop
Resolution
Any OS running an X Server
xorg-xrandrorxorg-xdpyinfo[1]
macOS
screenresolution[2] [3]
[1] Xrandr is prefered over xdpyinfo as Xrandr supports multi monitor and refresh rate display in the output.
[2] screenresolution is faster than the built in Mac OS tools.
[3] screenresolution is installed for you when using homebrew.
Public IP
NOTE: dig is the fastest out of the three.
dig,curlorwget
GPU
Linux and GNU Hurd
lspci
BSD, Solaris, MINIX, and AIX
glxinfo- Not required on FreeBSD.
iOS Dependencies
These dependencies can all be installed through Cydia. Note: The Cydia package installs these dependencies for you.
Bourne-Again SHellCore UtilitiesCore Utilities (/bin)Darwin Toolssystem-cmdsGawkgrep
Android Dependencies
bashbusybox
Note: I recommend installing termux from the Play Store or F-Droid. Termux provides you with a fully working Linux environment, doesn't require root access and includes all dependencies.
Note: Neofetch is in Termux's official repos.