windows中git出现bash: tree: command not found

  1. 下载tree.exe
    https://sourceforge.net/projects/gnuwin32/files/
    到上面那个网站找到tree包,找到最新的下载到本地
    在这里插入图片描述
  2. 解压后, 复制tree.exe在这里插入图片描述目录下
  3. 此时tree命令就可以使用了!

[参考]
git bash 报错bash: *: command not found

发布了190 篇原创文章 · 获赞 153 · 访问量 9万+

猜你喜欢

转载自blog.csdn.net/qq_36852780/article/details/104447068