Mac 초기 세팅

Spec

  • Chip : Apple M2 Pro

  • Memory : 32GB

  • macOS : Ventura 13.4

Install Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

인텔리제이 배경 화면 변경 :

Install Git

brew install git

Install iterm2

brew install --cask iterm2

Install zsh with oh-my-zsh

brew install zsh zsh-completions
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

# zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

~/ .zshrc 설정

plugins=(
  git
  zsh-syntax-highlighting
  zsh-autosuggestions
)

source ~/ .zshrc

  • theme change -> link

    ZSH_THEME="choose yourse theme"

Install neovim, spaceVim

brew install neovim

# MesloLGS NF가 없는 경우
brew tap homebrew/cask-fonts
brew install font-meslo-lg-nerd-font

~/ .zshrc 설정

alias vim="nvim"
alias vi="nvim"
alias vimdiff="nvim -d"
export EDITOR=/usr/local/bin/nvim

source ~/ .zshrc

Install bat

brew install bat

~/ .zshrc 설정

alias cat="bat"

source ~/ .zshrc

Install fzf

brew install fzf

~/ .zshrc 설정

plugins=(
  ...
  ...
  fzf
)

source ~/ .zshrc

Install Java

brew install java11

openjdk@11 is keg-only, which means it was not symlinked into /opt/homebrew,
because this is an alternate version of another formula.

If you need to have openjdk@11 first in your PATH, run:
  echo 'export PATH="/opt/homebrew/opt/openjdk@11/bin:$PATH"' >> ~/.zshrc

For compilers to find openjdk@11 you may need to set:
  export CPPFLAGS="-I/opt/homebrew/opt/openjdk@11/include"
  
java -version

Docker

brew install --cask docker

Install Chrome

brew install --cask google-chrome

Install Slack

brew install --cask slack

Install Notion

brew install --cask notion

Ref

Last updated