Tree

Tree is a useful application that will allow you to look at a directory structure and files that are in a directory. Here is an example of what the output might look like after running the tree command:

── courses
    ├── code102
    ├── code201

Verify if Tree is already installed:

If this is your first time going through the setup guide on your current machine, skip this “Verify” section and move on to the “Install” section below

In your terminal, run:

IF the output is this version or higher:

tree v2.0.1 (c) 1996 - 2022 by Steve Baker, Thomas Moore, Francesc Rocher, Florian Sesser, Kyosuke Tokoro

Continue to the next page


else if the output is not similar to the above:

Continue with instructions on this page.


Install Tree

In your terminal, run:

Once it completes, verify tree is installed by running the command:

Expected output should match this version, or higher:

tree v2.0.1 (c) 1996 - 2022 by Steve Baker, Thomas Moore, Francesc Rocher, Florian Sesser, Kyosuke Tokoro

⇐ Previous | Next ⇒