여백에 도장 찍기

Homebrew 설치 본문

Mac 개발환경

Homebrew 설치

Linzyseo 2022. 1. 4. 10:47

Homebrew 설치하기

: https://brew.sh/index_ko

 

Homebrew

The Missing Package Manager for macOS (or Linux).

brew.sh

 

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

 

Git Remote Mirroring

https://docs.brew.sh/Installation

 

Installation

Documentation for the missing package manager for macOS.

docs.brew.sh

export HOMEBREW_BREW_GIT_REMOTE="..."  # put your Git mirror of Homebrew/brew here
export HOMEBREW_CORE_GIT_REMOTE="..."  # put your Git mirror of Homebrew/homebrew-core here
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

 

brew -v 커맨드 실행 시 버전 확인되지 않아 살펴보니

Warning: /opt/homebrew/bin is not in your PATH  발생.

echo 'export PATH=/opt/homebrew/bin:$PATH' >> ~/.zshrc
source ~/.zshc

'Mac 개발환경' 카테고리의 다른 글

환경변수 영구설정  (0) 2022.01.04
Comments