-
[react-native] mac m1 환경 - 기본 설치(2)Read | Write/Tech 2023. 10. 19. 15:31
목차
1. iTerm2
2. brew
3. ohmyzsh 설치
1. homebrew 설치
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)"
경과와 친절한 설명
아래 안내 대로
eval "$(/opt/homebrew/bin/brew shellenv)" 입력합니다.
2. brew 설치 확인
brew --version
which brew
https://docs.brew.sh/Installation#1
Installation
Documentation for the missing package manager for macOS (or Linux).
docs.brew.sh
The script installs Homebrew to its default, supported, best prefix (/opt/homebrew for Apple Silicon, /usr/local for macOS Intel and /home/linuxbrew/.linuxbrew for Linux)
brew version 확인,
m1 경로(/opt/homebrew for Apple Silicon)와 설치 경로(which brew 결과) 일치 확인 후 다음 진행
3. Ohmyzsh 설치
[ohmyzsh]
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
[플러그인 - autosuggestions]
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
[플러그인 - highlighting]
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
아래 파일에서 플러그인 적용
nano ~/.zshrc
설치한 플러그인 추가
plugins=(git zsh-autosuggestions zsh-syntax-highlighting) 저장, 닫기 + source ~/.zshrc
다음 글에서 이어서 정리했습니다.
[react-native] mac m1 환경 - 기본 설치(3)
목차 1. WatchMan 2. CocoaPods 3. Expo CLI & EAS CLI 5.iTerm2 설치 https://iterm2.com/downloads.html Downloads - iTerm2 - macOS Terminal Replacement iterm2.com iTerm에서 Rosetta 활성화하기 Finder에서 응용프로그램 열기 아래처럼 응
gos19.tistory.com
궁금한 점이 있으시다면 댓글로 남겨주세요 :)
'Read | Write > Tech' 카테고리의 다른 글
wireguard server setting (0) 2023.10.26 [react-native] mac m1 환경 - 기본 설치(3) (0) 2023.10.19 [react-native] mac m1 환경 - 기본 설치 (0) 2023.10.19 raspberry pi Wireguard client connection timeout (2) 2023.10.04 react-native pod install "iphoneos" cannot be located (0) 2023.09.22