터미널 brew install 에러(mac git 다운로드)
본문 바로가기

Network&etc/MAC

터미널 brew install 에러(mac git 다운로드)

Warning: No available formula or cask with the name "git".
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.

https://www.git-scm.com/download/mac

 

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

www.git-scm.com

 깃 다운로드중인데

맥에서는 이미 깃이 있다고한다. git --version 하니까 정말있는데 구버전이어서 다시설치하려니까 위와같은 애러가뜸

rm -fr $(brew --repo homebrew/core)​

 

깃 버전업데이트

git --version
export PATH=/usr/local/bin:$PATH

 

brew install git
brew install git git-lfs

 

반응형

'Network&etc > MAC' 카테고리의 다른 글

[mac]command not found git 에러  (0) 2021.07.30