Simply check it out and then use the following steps to integrate it. After that you can use it for example, the terminal of mac os x, which hasn’t got a native tree command.

1. edit your .profile file in your home directory

2. add a new line, which contains something like that:

vi can be a bit tricky. You need to press ‘i’ first to switch to the insert view. Then write the new line, press the ESC-key and write ‘:w’ and press enter. This saves the document. Type ‘:q’ to close the document. Use the location where you checked out the tree.dart script. Maybe you need to add dart to your PATH var, if you haven’t already:

3. Restart the terminal and run tree in a folder of your choice:

If you have any questions or feature-request, do let me know on github.