개발 mac를 세팅
brow를 먼저 설치 해주자
Homebrew
The Missing Package Manager for macOS (or Linux).
brew.sh
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
마지막에 나오는 메세지를 확인해야된다.
==> Next steps:
- Run these three commands in your terminal to add Homebrew to your PATH:
echo '# Set PATH, MANPATH, etc., for Homebrew.' >> /Users/alvastro/.zprofile
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/alvastro/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
위를 차례로 실행한다.
$ brew --version
Homebrew 3.6.7
Homebrew/homebrew-core (.....)
설치 성공..
item2 installl
https://iterm2.com/downloads.html
Downloads - iTerm2 - macOS Terminal Replacement
iterm2.com
$ brew install zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
ruby install
brew install rbenv ruby-build
완료 후
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bash_profile |
source ~/.bash_profile
vi .zshrc
export PATH="$HOME/.rbenv/bin:$PATH" eval "$(rbenv init - zsh)" |
source ~/.zshrc
rbenv install 2.7.6
rbenv global 2.7.6
ruby --version
rails installl
gem install bundler
git instll
brew install git
brew install redis
mysql
https://velog.io/@haleyjun/MySQL-Mac%EC%97%90-MySQL-%EC%84%A4%EC%B9%98%ED%95%98%EA%B8%B0-M1%EC%B9%A9
MySQL | Mac에 MySQL 설치하기 (M1칩)
데이터베이스는 우리가 사용하는 정보의 총 집합으로, 이를 관리하기 위한 DB로는 대표적으로 MySQL과 Oracle등이 있다.homebrew가 설치되어 있어야 합니다.
velog.io
brew install mysql geos