1. Homebrew 설치 (아래 코드 터미널에 복사 붙여넣기)
1
| $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
Homebrew는 Mac OS 용 패키지 관리자
2. 터미널에 brew
를 입력하여 설치 확인
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
| $ brew Example usage: brew search [TEXT|/REGEX/] brew (info|home|options) [FORMULA...] brew install FORMULA... brew update brew upgrade [FORMULA...] brew uninstall FORMULA... brew list [FORMULA...] Troubleshooting: brew config brew doctor brew install -vd FORMULA Developers: brew create [URL [--no-fetch]] brew edit [FORMULA...] http://docs.brew.sh/Formula-Cookbook.html Further help: man brew brew help [COMMAND] brew home
|
3. 터미널에 brew install tree
를 입력하여 설치
1 2 3 4 5 6
| $ brew install tree ==> Downloading https://homebrew.bintray.com/bottles/tree-1.7.0.sierra.bottle.1. ==> Pouring tree-1.7.0.sierra.bottle.1.tar.gz 🍺 /usr/local/Cellar/tree/1.7.0: 7 files, 113.3KB
|
4. 터미널에 tree
를 쳐서 디렉토리 tree구조를 확인 할 수 있음
1 2 3 4 5 6 7 8 9
| $ tree . ├── hexo.md └── tree?\204\206?\205??\206??\204\205?\205??\206??\204\213?\205?.md $ tree -N . ├── hexo.md └── tree명령어.md
|