homebrew ์„ค์น˜ ์‹œ ์—๋Ÿฌ ( bin/bash: line 234: /usr/local/bin/git: Bad CPU type in executableFailed during: git init -q )

2023. 2. 7. 23:22ใ†๐Ÿ“” TIL

 

์—๋Ÿฌ ๋ฉ”์‹œ์ง€

/bin/bash: line 234: /usr/local/bin/git: Bad CPU type in executable

Failed during: git init -q

 

์ƒํ™ฉ

์–ด๋–ค ์ด์œ  ๋•Œ๋ฌธ์ธ์ง€ /usr/local/bin/git ํŒŒ์ผ์—์„œ ๋ฌธ์ œ๊ฐ€ ์ƒ๊ธด ๊ฒƒ. 

ํ•ด๋‹น ๊ฒฝ๋กœ์˜ ํŒŒ์ผ์„ ์ง€์›Œ์ฃผ์ž.

 

 

ํ•ด๊ฒฐ

 

 

ํ•ด๋‹น ๊ฒฝ๋กœ (/usr/local/bin) ์˜ ํŒŒ์ผ (git) ์„ ์‚ญ์ œ ํ›„, homebrew ๋ฅผ ์žฌ์„ค์น˜ํ•˜๋ฉด ์ •์ƒ์ ์œผ๋กœ ๋™์ž‘ํ•œ๋‹ค.

 

 

ref : https://github.com/Homebrew/discussions/discussions/3385