【Git】gitbash 安装 tree

gitbash 安装 tree

linux 上通过 tree 命令行工具生成树状结构,其实在 windows 平台上的 git 中也可以安装 tree

├── README.md
├── babel.config.js
├── package.json
├── public
│ ├── favicon.ico
│ └── index.html
├── src
│ ├── App.vue
│ ├── api
│ ├── assets
│ ├── components
│ ├── main.js
│ ├── router
│ ├── store
│ ├── utils
│ └── views
└── vue.config.js
  1. 先下载一个压缩包: http://gnuwin32.sourceforge.net/packages/tree.htm 并下载 binaries 对应的 zip

  2. 解压后打开 bin 目录

  3. 把 tree.exe 复制到 git 安装目录下的 usr/bin 目录下

常用命令

https://wangchujiang.com/linux-command/c/tree.html

posted @ 2021-02-10 13:29  [ABing]  阅读(185)  评论(0编辑  收藏  举报