사용자 도구

사이트 도구


mac:brew

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판이전 판
다음 판
이전 판
mac:brew [2023/04/08 02:02] – [Install node] taekgumac:brew [2025/04/15 10:05] (현재) – 바깥 편집 127.0.0.1
줄 1: 줄 1:
 +====== Homebrew ======
 +macOS에서 command를 이용하여 다양한 utility를 설치관리하기 위한 package manager이다.
  
 +[[https://brew.sh/index_ko|brew.sh - Homebrew]]
 +
 +
 +===== Install Homebrew =====
 +<code bash>
 +-- 홈페이지에서 최신 설치 확인는 것이 현명함.
 +/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
 +</code>
 +
 +=== packages 설치하기 ===
 +<code bash>
 +brew search node
 +brew install node@18
 +</code>
 +
 +==== 설치해야 하는 패키지 ====
 +  - node
 +  - postgresql
 +  - pyenv pyenv-virtualenv
 +  - openjdk
 +
 +===== openjdk 설치 =====
 +<code bash>
 +==> openjdk@17
 +For the system Java wrappers to find this JDK, symlink it with
 +  sudo ln -sfn /usr/local/opt/openjdk@17/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk-17.jdk
 +
 +openjdk@17 is keg-only, which means it was not symlinked into /usr/local,
 +because this is an alternate version of another formula.
 +
 +If you need to have openjdk@17 first in your PATH, run:
 +  echo 'export PATH="/usr/local/opt/openjdk@17/bin:$PATH"' >> ~/.zshrc
 +
 +For compilers to find openjdk@17 you may need to set:
 +  export CPPFLAGS="-I/usr/local/opt/openjdk@17/include"
 +</code>
 +
 +==== postgreSQL 설정 =====
 +=== macOS ===
 +/Volumes/maro/postgresql@14 --> /usr/local/var/garam