728x90
Node JS 설치
- 노드 설치 여부 확인
node -v
- 노드 js 설치
Node.js — Run JavaScript Everywhere
Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
nodejs.org
- 18.17.0 LTS 설치 (원하는 버전 설치)
- 설치되는 경로 확인

zsh node 경로 설정
- i : 입력모드
- !wq : 저장하고 나가기
vi .zshrc
- 아래 PATH 를 작성하기
export PATH=$PATH:/usr/local/bin

brew 커맨드로 노드 설치
brew install node

- node -v 입력하여 버전 확인하면 끝
yarn 설치
brew install yarn
- yarn -v 명령어로 설치 버전 확인

이렇게 node 와 yarn까지 설치해 봤습니다
728x90
'Mac' 카테고리의 다른 글
[Mac] 맥 개발환경 설정 (5) - 인텔리제이(intellij) 설치, react 스니펫 단축어 (0) | 2024.04.17 |
---|---|
[Mac] 맥 개발환경 설정 (4) - java openjdk 설치, 개발툴 정리 (0) | 2024.04.15 |
[Mac] 맥 개발 환경 설정 (2) - 맥 git 설치, git config 설정 (0) | 2024.04.13 |
[Mac] 맥 개발 환경 설정 (1) - iTerm2, zsh, brew 설치 (0) | 2024.04.13 |
구글 크롬 확장 프로그램 백업 압축 방법 (0) | 2024.03.25 |