Tree command not found

When I type ‘tree’ in the terminal I get the message ‘command not found’. How can this be? the ‘tree’ command is suposed to be part of all linux distributions.

TIA jaa84

It wasn’t part of my Linux Mint installation, so I guess not every distro.

In Debian Bullseye apt show tree shows the priority to be Optional.

try

sudo apt-get install tree