본문 바로가기

MacOS6

[MacOS] 맥 깨워두기 맥은 기본적으로 일정 시간동안 입력이 없으면 화면이 꺼지면서 잠자기 모드에 들어간다. 에너지 절약 측면에서 이는 좋은 기능이다.하지만 언젠가 맥을 깨워두고 싶을 때가 있을 것이다.그럴 때 terminal 창에 다음을 입력하자.caffeinate # 잠자기 방지caffeinate -d # 화면 꺼짐 방지 2025. 12. 23.
[MacOS] LazyVim 설치하기(M4) 1. Neovim 설치(0.9 버전 이상)brew install neovim 2. 폰트 다운로드 brew install --cask font-fira-code-nerd-font 3. LazyVim git 다운로드git clone https://github.com/LazyVim/starter ~/.config/nvimrm -rf ~/.config/nvim/.git 4. 실행nvim 2025. 11. 4.
[MacOS] Docker 설치하기(M4) 1. orbstack 설치brew install --cask orbstackorb statusorb listorb stoporb shutdownorb가 Running 상태일 때 docker 사용 가능 2. docker 사용나머지 명령어는 아래 참고 [Linux] Docker 설치, image 및 container 생성 방법필자는 Windows 11에서 WSL2로 Ubuntu-24.04 상에서 수행하였다. 1. Docker 설치 sudo apt updatesudo apt install -y docker.iosudo usermod -aG docker $USER 2. Dockerfile 생성(예시: OpenGL 개발 환경)# 베이스 이미지FROM ubuntu:22.04#carprefer.tistory.com 2025. 11. 2.
[MacOS] .zshrc로 zsh 설정하기 brew install zsh-syntax-highlightingbrew install zsh-autosuggestionsvi ~/.zshrcexport CLICOLOR=1source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zshsource /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zshautoload -Uz vcs_infosetopt prompt_substzstyle ":vcs_info:*" enable gitzstyle ":vcs_info:*" formats "%F{magenta}%r(%b)%f "PROMPT='%(?:%F{green}%1{➜%}%f :%.. 2025. 11. 1.
[MacOS] .vimrc로 Vim 설정하기 vi ~/.vimrcset nuset rulerset ts=4set autoindentset showmatchset hlsearchset incsearchset ignorecaseset smartcaseif has("syntax") syntax onendif 2025. 11. 1.
[MaxOS] Macbook에 homebrew 설치하기(M4) 0. 확인brew --version여기서 뭔가 뜨면 설치 안해도 됨 1. homebrew 다운로드 HomebrewThe Missing Package Manager for macOS (or Linux).brew.sh/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" 2. Next stepsecho >> /Users/carprefer/.zprofileecho 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/carprefer/.zprofileeval "$(/opt/homebrew/bin/brew shellenv)" 3. 설치 확인brew --v.. 2025. 11. 1.