반응형
# Node.js 학습_노드 설치 / VS Code 설치
## 노트 설치
- 아래 홈페이지에서 원하는 버전 설치 (LTS 붙은게 안정적인 버전(정신건강에 좋음), Current 붙은건 최신 버전(신기술 습득))
- https://nodejs.org/
Node.js
Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
nodejs.org
- 노드 설치 시 Automatically install... 반드시 체크 후 설치
리눅스(우분투 18 LTS 기준)의 경우 아래 명령어 이용하여 노드 설치.
$ sudo apt-get update
$ sudo apt-get install -y build-essential
$ sudo apt-get install curl
$ curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash --
$ sudo apt-get install -y nodejs
## VS Code 설치
- 무료 중에서 가장 쓸만함.
- 실무에서는 웹스톰 사용 (유료_성능 좋아야 사용하기 좋음)
- https://code.visualstudio.com/
Visual Studio Code - Code Editing. Redefined
Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications. Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows.
code.visualstudio.com
- VS Code 설치 후 File > Add Folder to Workspace 클릭하여 코딩하고싶은 폴더 추가해주기. (가능하면 윈도우 계정명, 폴더명 등을 영문으로 해주는게 좋음 => 이럴경우 프로그래밍 시 고통받을 확률 업업..)
## 설치 후 확인
- cmd 실행하여 아래 명령어로 확인
node -v
npm -v
맥/리눅스의 경우 명령어 앞에 sudo 입력
반응형
'인프런 강의 학습 > Node.js 교과서' 카테고리의 다른 글
Node.js 학습_노드 내장모듈 (0) | 2021.10.03 |
---|---|
Node.js 학습_REPL 사용 / JS파일 실행 / 모듈 생성 / 노드 내장 객체 (0) | 2021.10.02 |
Node.js 학습_자바스크립트 문법(화살표 함수) (0) | 2021.10.02 |
Node.js 학습_자바스크립트 문법(호출 스택 / 이벤트 루프 / const, let / 템플릿 문자열, 객체 리터럴) (0) | 2021.09.30 |
Node.js 학습_노드의 정의 / 런타임 / 노드 내부구조 / 이벤트 기반 / 논블로킹 (0) | 2021.09.30 |