Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tree command not found

I tried using tree command to see the directory structure but it dint work on my mac terminal, it says : command not found. I tried to install the package for command using $brew install tree. it did not work either???

like image 288
Harish Thalluri Avatar asked Jan 17 '19 04:01

Harish Thalluri


2 Answers

If you're using Homebrew on your Mac, simply use brew install tree command on your terminal.

like image 39
Randil Tennakoon Avatar answered Sep 20 '22 23:09

Randil Tennakoon


brew install tree

Windows and Linux already have the function, so Mac needs installation.

Reference: https://superuser.com/q/359723

like image 121
user11677534 Avatar answered Sep 16 '22 23:09

user11677534