본문 바로가기

카테고리 없음

m1 터미널 설정

1. brew 설치

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

 

2. zshell 설치

## terminal
> brew install zsh
> open ~/.zshrc

## zshrc 파일 설정
export PATH=/opt/homebrew/bin:$PATH

 

3. syntax highlighting,  auto suggestion 설치

> brew install zsh-syntax-highlighting
> brew install zsh-autosuggestions
> open ~/.zshrc

## zshrc 파일 설정 후 저장
source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh

> source ~/.zshrc