Display the tree using ASCII characters instead of extended characters

tree

  • Display a graphical tree of the directory structure for a path.
    More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/tree>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

tree {{path/to/directory}} /a

click the source code to copy install tree on any operating system with command-not-found.com