2026 Community Survey results are here! See how the Craft CMS community works. results are live!

Using the tree Command

If you’ve done any work in the CLI, you have used `ls` a lot. This command, which stands for “list files,” is the one I use the most to see where I’m at.But it doesn’t list anything except files and directories in your current working directory.Fortunately, we can use the `tree` utility, which is easily available via Homebrew.

Instructor
Ryan Irelan
Date Published
March 10, 2021