安装tree
1brew install tree
可能会遇到网络问题 挂上代理
1http_proxy=http://代理:xxxx https_proxy=http://代理:xxxx brew install tree