macos-setup
  • MacOS Setup Guidance
  • Homebrew
    • Using Homebrew
    • cask
  • Terminal
    • iterm2
    • Terminal Hot keys
    • Zsh
    • Fish
    • tree
  • Git
    • Git Ignore (global)
  • Vagrant
  • Sublime TXT
    • Subl plugins
  • VIM
    • Hot keys
  • Python
    • pip
    • IPython
    • Virtualenv
  • Xcode
  • Evernote
Powered by GitBook
On this page
  • Installation
  • Usage

Was this helpful?

  1. Terminal

tree

tree is a recursive directory listing command that produces a depth indented listing of files.

Installation

To install the latest version, use homebrew:

$ brew install tree

Usage

Running tree will produce output like this:

To limit the recursion you can pass an -L flag and specify the maximum depth tree will use when searching.

$ tree -L 1
PreviousFishNextGit

Last updated 5 years ago

Was this helpful?