NerdFetchA POSIX *nix fetch script using Nerdfonts

联合创作 · 2023-09-30 04:19

NerdFetch


A POSIX *nix (Linux, macOS, *BSD, etc) fetch script using Nerdfonts



Dependencies:



  • Any nerdfonts font

  • bc (optional, but most systems already have this)

  • Pretty much any Linux distro/macOS


To install and run:


Automatically (Arch Linux via the AUR):



yay -S nerdfetch


Make sure to replace yay with whatever AUR helper you use.


Manually:


Copy-paste this into your terminal:



# clone and go into repo
git clone https://github.com/ThatOneCalculator/NerdFetch.git
cd NerdFetch/
# install
sudo install -m755 nerdfetch /usr/bin/nerdfetch
# go back and remove the download
cd ..
rm -rf NerdFetch/
# run
nerdfetch


Run once (curl):


Note that this will not install the program.



curl -fsSL https://raw.githubusercontent.com/ThatOneCalculator/NerdFetch/master/nerdfetch | sh


Features:



  • Package manager and package count detection across many OSes

  • Support across all nerdfonts

  • Uptime detection that is actually good

  • Unlike neofetch, it uses almost no resources

  • Portable

  • POSIX compliant

  • Tested on Pop!_OS, NixOS, Ubuntu, Alpine, Debian, macOS 10, Arch, Manjaro, Bedrock, Gentoo, Kiss, EndeavourOS, ArcoLinux, Solus, Exherbo, LilKirbsOS, Fedora, Slackware, and Android


OSes fully supported:



  • Debian based Linux

  • Ubuntu based Linux

  • Arch based Linux

  • RedHat based Linux

  • SUSE based Linux

  • Bedrock Linux

  • Alpine Linux

  • KISS Linux

  • Void Linux

  • Gentoo Linux

  • Exherbo Linux

  • Solus Linux

  • Slackware Linux*

  • macOS 10.x

  • macOS 11


OSes partially supported:



  • Android

  • *BSD


Known issues:



  • No username and no app count in Android

  • No hostname, no uptime and no package count in *BSD

  • *In Slackware Linux, make sure to have /usr/sbin in PATH

浏览 6
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报