How to Install Neofetch on Windows
Getting Neofetch installed on Windows is easier than you might think. You simply need a PowerShell terminal and follow these steps:
- Enter this command into the PowerShell terminal that’ll give permission to run the next steps:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
- Run this command next to install Scoop:
iwr -useb get.scoop.sh | iex
- Now that scoop is installed, it’s time to install neofetch:
scoop install neofetch
- The last step to install neofetch is to install git:
scoop install git
What’s awesome about Linux, is that with neofetch installed, combined with a quick bashsrc edit neofetch can start automatically with the terminal. Let’s make that possible with Windows by making a regedit change:
- You’ll want to run regedit by Win+R and typing regedit.
- Navigate to:
HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor
- Right click and select New > String Value with the name as AutoRun with a value of neofetch
- Once saved, just open command prompt as usual to see neofetch automatically run!
Unfortunately, neofetch won’t run in programs like Tabby automatically. A more robust solution is to create a CMD file that has all the things you’d like to autorun on a new command prompt session:
- Create a new file under home directory named autorun.cmd
- Fill autorun.cmd with:
Save the file and go back and change the AutoRun value to C:\Users\yourusername\autorun.cmd.@echo off && C:\Users\%username%\scoop\apps\git\current\bin\bash.exe C:\Users\%username%\scoop\apps\neofetch\current\neofetch
That’s it! It’ll now function in CMD as well as programs like Tabby.