Skip to content

Setting up the development environment

<Iterm2 커스텀>

  1. Iterm2 설치 Iterm2
  2. Homebrew 설치 Install-Homebrew
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    
  3. Homebrew PATH 추가
    (echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"") » /Users/_name_/.zprofile
    eval "$(/opt/homebrew/bin/brew shellenv)"
    
  4. zsh 설치
    brew install zsh
    
  5. oh-my-zsh 설치 Install-oh-my-zsh
    sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
    
  6. Iterm2에 Color theme 적용 Palette
    # Example
    curl -LO https://raw.githubusercontent.com/mbadolato/iTerm2-Color-Schemes/master/schemes/3024%20Day.itermcolors
    
    iTerm2 > Preference > Profiles > Colors > Color Presets > import
  7. 폰트 변경 D2
    • iterm: iTerm2 > Preference > Profiles > Text > Font
    • mac terminal: 터미널 > 환경설정 > 프로파일 > 서체
  8. 테마 변경
    vi ~/.zshrc
    # ZSH_THEME="robbyrussell" -> agnoster
    # esc+wq!
    
  9. 상태바
    • 상태바 추가: iTerm2 > Preferences > Profiles > Session > Status bar enabled
    • 상태바 위치: Preferences > Appearance > Status bar location > Bottom
  10. Plugin
    brew install zsh-sysntax-highlighting
    vi ~/.zshrc
    source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
    
    brew install zsh-autosuggestions
    vi ~/.zshrc
    source /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh
    
  11. Alias +ll
    vi ~/.bash_profile
    # alias ll="ls -a" 추가
    

Python Setting

  1. Miniconda 설치 Install-Miniconda
    brew install wget
    wget https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
    bash Miniconda3-latest-MacOSX-x86_64.sh
    
  2. Vscode Python Extension 설치
  3. Vscode Jupyter Extension 설치

Java Setting

  1. JDK 설치 Install-java
  2. Vscode Extension Pack for Java 설치
  3. Code > Preferebces > Settings > "java home" 검색 > Edit in settings.json > /Library/Java/JavaVirtualMachines/.../Home 삽입

🥲⚒️⚒️⚒️⚒️⚒️

  • Git
  • VSCode (account, settings, extensions)
  • SSH (key, server)
  • SHELL: bash, zsh
  • ...