Tree doesn't exist


Trying to work my way thru the "book/;. In section 2.3 it says after cding into the project to enter ‘tree’ on the command line but it says there is no ‘tree’ command.

If you don't have the tree command, you can probably get it from your distribution’s package manager. It’s not necessary, but it’s certainly useful.

try to install it. if you are in ubuntu

sudo apt-get install tree


I’m on a mac so I can’t use apt_get. Isn’t this part of Cargo?


no. it is a utility as cd. you can try use brew to install if you are in mac.



Thank you very much.