2. Node.js brew로 다운 받기 #6
Unanswered
Irisation23
asked this question in
JavaScript 200문제로 격파!!
Replies: 2 comments 2 replies
-
도대체 xcurn이 뭐길래 git, brew 등을 맥 터미널로 사용시에 에러가 나는건지 한번 알아봤습니다.!
그럼 Xcode 제가 알기론 IDE인데 이게 버전 관리가 안된다고 굳이 터미널 명령이 안먹혀야 하는 이유가 있을까요?@bunsung92 님 한번 알아봐 주시죠^^ |
Beta Was this translation helpful? Give feedback.
2 replies
-
이전 장에서는 웹 콘솔로 코드를 실행해 보았다면 해당 장이 Node.js REPL로 코드를 실행 해보는 것인데 REPL (Read-Eval-Print Loop): REPL 또는 인터랙티브 톱레벨 (interactive toplevel), 랭기지 쉘 (language shell) 이라고도 부르며 이는 단일 사용자의 입력을 취하고 이를 평가(실행) 하고 결과를 사용자에게 반환하는 단순한 상호작용 컴퓨터 프로그래밍 환경이라고 합니다 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
1. Node.js brew로 다운받기
home brew가 mac에 세팅이 되어있다는 가정을 한다.
아래의 명령어를 입력한다.
brew update
brew install node
설치 완료 후
npm -v
node -v
입력으로 버전 확인 할 것.문제 없이 잘 되길 바라지만 아래의 문제가 발생 할 수 있다.
Error: No developer tools installed.
Install the Command Line Tools:
xcode-select --instal
2. 해결 방법
Xcode
를 AppStore에서 다운받다가 무한 루프에 걸려서 화가 날 수 있으니, 미연에 방지해 보자.검색어에
xcode
를 입력하고 난뒤 작성일 기준 2023년 02월 01일 기준의 자료에서Command Line Tools for Xcode 14.2
을 다운받아 준다.다운을 완료한 뒤
아래의 명령어를 입력한다.
brew update
brew install node
설치 완료 후
npm -v
node -v
입력으로 버전 확인 할 것.Beta Was this translation helpful? Give feedback.
All reactions