tree macOS tree command Files install Copies the tree script to /usr/local/bin/tree and sets permissions to 755 to allow all users to exectute with default paths. tree Displays current working directory using Linux style tree command format.