node.js
-
01. 맥북 Node.js 개발 환경 준비프로젝트/개인프로젝트 2026. 2. 23. 11:58
1. 맥북 Node.js 개발 환경 설정 (NVM 방식)* NVM (Node Version Manager) 1단계: Homebrew 설치 (맥북 필수 도구)/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" 2단계: NVM 설치Homebrew가 설치되었다면 NVM을 설치합니다.brew install nvm설치 후 터미널에 나오는 안내 문구에 따라 ~/.zshrc 파일에 환경 변수 설정을 추가해야 합니다. 3단계: Node.js LTS 설치가장 안정적인 최신 LTS 버전을 설치nvm install --ltsnvm use --lts 4단계: 설치 확인터미널에 node -v와 npm -v를 ..