neofetch command not found

In this troubleshooting guide we learn how to fix neofetch command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

neofetch: command not found

or when using sudo you get the following error message

sudo: neofetch: command not found

Solutions to neofetch: command not found

How To Fix neofetch: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu neofetch is provided by neofetch package.

neofetch is:

Neofetch is a cross-platform and easy-to-use system information command line script that collects your Linux system information and display it on the terminal next to an image, it could be your distributions logo or any ascii art of your choice.

To fix this problem, we can install more using the command below.

sudo apt-get -y install neofetch

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install neofetch.

sudo apt -y install neofetch

Or if you have aptitude installed you can use the following command.

sudo aptitude install neofetch

Summary

In this tutorial we learn how to fix neofetch command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.