homebrew 설치 및 사용법

simuruk wiki

Homebrew 설치

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

brew 검색

brew search java

mysql 설치

brew install mysql@5.7
brew services start mysql@5.7
brew link mysql@5.7 --force
mysqld --help --verbose | grep my.cnf

nvm 설치

brew install nvm
mkdir ~/.nvm
.profile
export NVM_DIR=~/.nvm
source $(brew --prefix nvm)/nvm.sh

node 설치

nvm install v8.12.0
nvm use v8.12.0

brew info mysql

brew --prefix nvm