Run Neofetch on every terminal window on macOS

Neofetch is really neat open source tool for displaying your system information on your command line oof choice. There are a lot of instructions on the Internet explaining how to do this on most Linux based system. There is a lot less information for Unix like systems such as macOS. Currently, I am running macOS Montery and as this version of the operating system now uses ZSH over the traditional Bash shell for the Terminal app . Eventually, I figured out that this difference in default shells is why I could not get this to work. If you want to do this for yourself you will need to first install the application.

Now, unlike installing most applications on macOS there is no graphical installer so instead we have to use the fantastic macOS package manager Homebrew. in order to do this open up Terminal and run this command:

/bin/bash -c "$(curl -fsSL"

Once this is complete and you run this command:

brew install neofetch

Once neoffetch has been installed running it is super easy, just do:


Great, now that we have neofetch installed, if you want to run this. every time a Terminal window opens we need to create a .zshrc file in your home directory which will run the neofetch command every time you open a new Terminal window.

 sudo nano .zshrc

then you just add the command into this new blank file

Don’t forget to do ctrl+x to save the file. 🙂

If all went well you should see something similar to this once you quit and open Terminal.

If you have any issues or questions feel free to DM me on Twitter or use the contact form on this site.

Similar Posts