집에 있는 PC 사양이 낮다 보니, IDE 실행하는 것도 버거워서 맥미니 M4 24G 256G 제품을 구매했습니다. 기존에 맥북에 개발환경을 설정했던 내용을 참고하여 초기 설정을 진행해 보았습니다.
기본설정
- 참고 : https://kimstar.kr/9442/
마우스 스크롤 방향 변경 : 설정 > 마우스 > 자연스러운 스크롤 : OFF- Logi Options+에서 세팅함
- shift + space 한글전환 : https://uaremine.tistory.com/28
- 기본값 : caps lock, control + space
- App Store에서 XCode 설치 > 터미널에서
open ~/Library/Preferences/com.apple.symbolichotkeys.plist입력 > 61번 항목 변경 : 131072 - 60번을 변경하면 딜레이가 있기 때문에, 61번 수정
- function key 변경 : https://support.apple.com/ko-kr/HT204436
- d2 coding 폰트 설치 : https://jamie95.tistory.com/63
- finder 정렬 옵션 변경 : https://pncom.tistory.com/22
- finder에서 외장하드 데스크탑 표시 제거 : https://blog.naver.com/ilook2u/222994947772
- 독 구분선 만들기 : https://www.youtube.com/watch?v=dvSDNA5scnA
- 날씨 : 시스템 설정 > 메뉴막대 > 날씨 : ON
개발환경
- brew : https://brew.sh/ko/
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
$ brew update && brew upgrade
$ brew doctor
- git : 개발용으로 추가 설치
# 설치
$ brew install git
# 초기설정
$ git config --list
$ git config --global user.name "kimstar"
$ git config --global user.email "kimstar@~~~.com"
- python : 개발용으로 추가 설치
# pyenv 설치 (Python 버전 관리)
$ brew install pyenv
$ vi ~/.zshrc
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
$ source ~/.zshrc
# 파이선 설치
$ pyenv install --list # 최신 안정 버전 찾기
$ pyenv install 3.14 # 최신 안정 버전 --> 3.14.5 설치됨
$ pyenv global 3.14 # 기본값으로 설정
# 가상환경 사용 (프로젝트별 패키지 분리)
$ python -m venv .venv
$ source .venv/bin/activate
- JDK
# temurin 설치
$ brew install --cask temurin
# 버전 확인
$ java -version
# PATH 추가
$ vi ~/.zshrc
export JAVA_HOME=$(/usr/libexec/java_home)
export PATH="$JAVA_HOME/bin:$PATH"
$ source ~/.zshrc
앱 설치 - App Store
- melon : 음악
- 시스템 설정 > 메뉴막대 > 메뉴막대에서 허용 > Melon : OFF
- magnet : 창 배치
- pixea : 이미지 뷰어
- 반디집 : 압축
- https://www.bandisoft.com/bandizip.mac/help/finder-extension-sequoia/
- https://www.bandisoft.com/bandizip.mac/howto/default-app-changer/
- 환경설정 > 파인더메뉴 > 외장 드라이브에서 파인더 메뉴 사용하기 : OFF
- Telegram : 메신저
- 카카오톡 : 메신저
Alfred : 런처- raycast 또는 alfred를 사용하고자 했으나, spotlight 사용중
- Amphetamine : 잠자기 방지
- 무비스트 : 동영상 재생기
RunCat : 모니터링- Stats가 좀 더 자세히 표시해줘서 제거
앱 설치 - 수동설치
- IntelliJ IDEA : https://www.jetbrains.com/idea/
- Java, Kotlin, Python 개발
- Rider : https://www.jetbrains.com/ko-kr/rider/
- .net 개발
- 맥용 Visual Studio이 더 이상 배포되지 않아 Rider를 사용
- 네이버 웨일 : https://whale.naver.com/ko/
- 설정 > 주소창 > 검색 서비스 : Google
- 옵시디안 : https://obsidian.md/
- 글쓰기, 메모 등
- 윈도우에서 사용중인 Obsidian Vault 폴더를 복사해서 사용
- Logi Options+ : https://www.logitech.com/ko-kr/software/logi-options-plus
- 설정에서 자연스러운 스크롤을 Off하거나 scrollreverser를 설치하는 방법도 있음
- 제스처 버튼 : 창 탐색
- 스크롤 방향 : 표준
- iTerm2 : https://iterm2.com/
- 터미널
- oh-my-zsh를 사용하여 다양한 테마, 플러그인 사용
- postman : https://www.postman.com/
- API 테스트용
- 로그인하여 동기화
- vscode : https://code.visualstudio.com/
- Python등의 간단한 개발용도
- 한글 : https://marketplace.visualstudio.com/items?itemName=MS-CEINTL.vscode-language-pack-ko
- 파이썬 : https://marketplace.visualstudio.com/items?itemName=ms-python.python
- Settings Sync : https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync
- 폰트 : https://tinyurl.com/23265r35
- Itsycal : http://mowglii.com/
- 달력
- MonitorControl : https://monitorcontrol.app/
- 모니터의 밝기, 음량 조절
- Stats : https://mac-stats.com/
- 성능 모니터링
- shottr : https://shottr.cc/
- 이미지 캡쳐 및 간단한 편집
IINA : https://iina.io/- 외부 자막파일 보다 내부 자막을 우선하는 것으로 추정되며, 이 경우 수동으로 자막을 선택해야 하는 불편함이 있어서 사용안함
- KeyClu : https://github.com/Anze/KeyCluCask
- 단축키 조회
iTerm2
- oh-my-zsh
- 설치 : https://ohmyz.sh/#install
- zsh-syntax-highlighting
- 참고 : https://observerlife.tistory.com/138
- 설치 :
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
- zsh-autosuggestions
- 참고 : https://observerlife.tistory.com/137
- 설치 :
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
- 한글깨짐 : https://ifuwanna.tistory.com/267
- 내 설정
- Preference > profiles > Window > Transparency : 1, Columns: 200, Rows: 35
- Preference > profiles > Session > [V] when idle 0 every 60 sec
- zshrc
$ vi ~/.zshrc
# Oh My Zsh
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="agnoster"
source $ZSH/oh-my-zsh.sh
# Brew
export PATH="/opt/homebrew/bin:$PATH"
# Git
export LANG=en_US.UTF-8
# Alias
alias ll='ls -alF'
alias h='history'
# Prompt
prompt_context() {
if [[ "$USER" != "$DEFAULT_USER" || -n "$SSH_CLIENT" ]]; then
prompt_segment black default "%(!.%{%F{yellow}%}.)$USER"
fi
}
# Plugin
plugins=(
git
zsh-syntax-highlighting
zsh-autosuggestions
)
# Python
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
# Java
export JAVA_HOME=$(/usr/libexec/java_home)
export PATH="$JAVA_HOME/bin:$PATH"
기타 설정
hosts
$ sudo vi /etc/hosts
127.0.0.1 local.kimstar.kr
$ dscacheutil -flushcache
vi
$ vi ~/.vimrc
set ai
set si
set cindent
set shiftwidth=4
set tabstop=4
set ignorecase
set hlsearch
set expandtab
set background=dark
set nocompatible
set fileencodings=utf-8,euc-kr
set bs=indent,eol,start
set history=1000
set ruler
set nobackup
set title
set showmatch
set nowrap
set wmnu
set paste
syntax on참고 링크
- 기본 연결 프로그램 변경 : https://mong9data.tistory.com/141
- 영화 자막 폰트 : https://blog.naver.com/zhhhu/221788737535
- 전면 전원스위치 : https://tinyurl.com/22rpl5q9
- M4 맥미니 초기 설정 : https://hdevstudy.tistory.com/350
- 맥북 필수앱 : https://bboblepop.com/25
- 잇섭 - 추천앱 : https://youtu.be/o3-7G1xqsKc?si=Xy79tLi87gOAL2S0
- 디에디트 - 추천앱 : https://youtu.be/bmFc0QWz-Qo?si=dqe0IOkJl4gCl3zJ






