-
brew install tree 해도 command not found 뜬다면 해결방법카테고리 없음 2023. 1. 18. 16:05
프로젝트 구조를 설명하기 위해서 tree 명령어를 mac에서 이용하려고 할때 , 일단 tree 를 설치해 줘야한다.
brew install tree설치 해줬는데도 tree 명령어를 찾을 수 없다고 뜬다면
zsh 터미널에서 open ~/.zshrc 또는 bash 터미널에서 ~/.bashrc 를 입력해 해당 파일을 열고 아래 코드를 입력해 주면 된다.
아래 코드를 입력해주고 터미널을 닫고 다시 실행해보면 tree 명령어가 잘 작동하는 것을 확인할 수 있을 것이다.alias tree='find . -print | sed -e "s;[^/]*/;|____;g;s;____|; |;g"'방법 출처
https://stackoverflow.com/questions/54228819/tree-command-not-found
Tree command not found
I tried using tree command to see the directory structure but it dint work on my mac terminal, it says : command not found. I tried to install the package for command using $brew install tree. it d...
stackoverflow.com