Skip to content

Instantly share code, notes, and snippets.

@bartprokop
Last active April 30, 2025 19:11
Show Gist options
  • Save bartprokop/acd21fa6d4e2de3c9b3f55f8923f9539 to your computer and use it in GitHub Desktop.
Save bartprokop/acd21fa6d4e2de3c9b3f55f8923f9539 to your computer and use it in GitHub Desktop.
How to have neofetch in OpenWrt?

neofetch on OpenWRT

Commands below install bash, which is required to run neofetch

opkg update
opkg install curl bash

curl -s https://raw.githubusercontent.com/dylanaraps/neofetch/master/neofetch > /usr/bin/neofetch
chmod +x /usr/bin/neofetch
echo neofetch > /etc/profile.d/run_neofetch.sh

That is all, neofetch output will be now presented during each login to the OpenWrt router.

How to save flash

If you are really short of flash, the following will do:

curl -s https://raw.githubusercontent.com/dylanaraps/neofetch/master/neofetch | bash

But, I would not put something that depends on Internet conenctivity being in start-up script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment