맥북

brew 버전별 설치

무세1 2018. 7. 6. 17:50

Homebrew 설치 후 brew 명령어를 이용해서 software를 설치 할 수 있다.


brew install tomcat


install 명령으로 설치를 하면 최신버전을 설치 한다.


최신버전이 아닌 다른 버전을 설치 하길 원하면 아래 명령어를 이용해서 설치 가능한 버전을 확인하고 설치하면 된다.


> brew search tomcat@

==> Searching local taps...

tomcat ✔        tomcat-native   tomcat@6        tomcat@7        tomcat@8

==> Searching taps on GitHub...

==> Searching blacklisted, migrated and deleted formulae...


> brew install tomcat@7