Install Diffstat On A Debian, Ubuntu, Arch, Kali, CentOS, Fedora, Raspbian And MacOS
Install diffstat
-
Debian
apt-get install diffstatClick to copy -
Ubuntu
apt-get install diffstatClick to copy -
Arch Linux
pacman -S diffstatClick to copy -
Kali Linux
apt-get install diffstatClick to copy -
CentOS
yum install diffstatClick to copy -
Fedora
dnf install diffstatClick to copy -
Raspbian
apt-get install diffstatClick to copy -
macOS
brew install diffstatClick to copy
Create a histogram from the output of the `diff` command.
How to use diffstat?
Below are few example commands for diffstat that you can use in the terminal.
Display changes in a histogram:diff file1 file2 | diffstatClick to copyDisplay inserted, deleted and modified changes as a table:diff file1 file2 | diffstat -tClick to copy
Installation of latest diffstat command is available for Debian, Ubuntu, Arch, Kali, CentOS, Fedora, Raspbian and macOS. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.




