"homebrew 설치 및 사용법"의 두 판 사이의 차이

simuruk wiki
(새 문서: ==Homebrew 설치== <source> /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" </source> ==mysql 설치== <source> brew install mysql...)
 
 
3번째 줄: 3번째 줄:
 
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
 
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
 
</source>
 
</source>
 +
 +
==brew 검색==
 +
brew search java
  
 
==mysql 설치==
 
==mysql 설치==

2020년 3월 26일 (목) 06:12 기준 최신판

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