Tree doesn't exist


#1

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.
Help!!


#2
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

#3

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


#4

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

see, http://superuser.com/questions/359723/mac-os-x-equivalent-of-the-ubuntu-tree-command


#5

Thank you very much.