드디어 나도 샀다, 맥북. m2인데 깃을 까는 것 부터가 난관이다. 윈도우 처럼 한 번에 안 된다. 솔직히 말하자면 윈도우에서도 복잡하긴 했지만. 그렇다고 우분투처럼 쉬운가? 그것도 아님.
brew install git
깃 공식 홈페이지에는 위의 커맨드를 이용해 git을 설치하라고 되어있는데 안 된다.
애초에 brew 자체가 설치되어있지 않다.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
위 커맨드를 이용하면 brew가 설치된다.
이제 처음에 입력했던 커맨드.
brew install git
를 입력하면 git이 알아서 설치된다.
아 실리콘이든 인텔맥이든 설치 방법은 동일하다.
Git - Downloading Package
Download for macOS There are several options for installing Git on macOS. Note that any non-source distributions are provided by third parties, and may not be up to date with the latest source release. Homebrew Install homebrew if you don't already have it
git-scm.com
댓글을 사용할 수 없습니다.