Error: Cannot install under Rosetta 2 in ARM default prefix (/opt/homebrew)!
To rerun under ARM use:
arch -arm64 brew install ...
To install under x86_64, install Homebrew into /usr/local.
brew 명령어 앞에 arch -arm64 추가$ arch -arm64 brew install <package name>
oh-my-zsh 날려버리고 starship으로 갈아타려는데 설치가 안돼서 starship한테 입구컷 당한줄~
starship이 rust로 만들어져서 그렇게 빠르다는 소식,, 다덜 starship으로 넘어오세욥
$ sh -c "$(curl -fsSL https://starship.rs/install.sh)"
$ brew install starship
$ arch -arm64 brew install starship
~/.bashrc 파일을 열고 아래의 코드 추가eval "$(starship init bash)"
~/.config/fish/config.fish 파일을 열고 아래의 코드 추가starship init fish | source
~/.zshrc 파일을 열고 아래의 코드 추가eval "$(starship init zsh)"