DEV Community

loading...

Add tree to git-bash on Windows 10

sekti92 profile image Sekti Wicaksono ・1 min read

Step-by-step

  1. Go to http://gnuwin32.sourceforge.net/packages/tree.htm
  2. Download the Binary version (see image below) Alt Text
  3. Save the zip file to your computer
  4. Open the zip file and double click to bin folder Alt Text
  5. Extract tree.exe to C:\Program Files\Git\usr\bin
  6. Try on your git-bash now. Result Alt Text

Credit:
https://superuser.com/questions/531592/how-do-i-add-the-tree-command-to-git-bash-on-windows/1141489#1141489

Discussion

pic
Editor guide