본문 바로가기
Nodejs

[Node js]Node.js 개발자 초기 설정

by ★☁︎♣︎♥︎ 2022. 2. 4.
728x90
반응형
Mac m1칩 Homebrew 설치 및 Window에 설치

1. 터미널에 밑에 글을 복사 후 붙여 넣기

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

로 먼저 brew를 설치해줍니다.

https://formulae.brew.sh/ 

 

Homebrew Formulae

Homebrew’s package index

formulae.brew.sh


2. 다음 2줄을 실행

echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/<USER_ID>/.zprofile

eval "$(/opt/homebrew/bin/brew shellenv)"

3. 이제 Node.js를 다운로드합니다.

https://formulae.brew.sh/formula/node@16#default

 

node@16

Homebrew’s package index

formulae.brew.sh

brew install node@16 LTS버전으로 다운!!


또는 밑에 URL로 이동하여 16.13.2 LTS 버전 다운!!

https://nodejs.org/ko/

 

Node.js

Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.

nodejs.org


4. 다음으로는 Visual Studio Code를 다운로드하면 됩니다! 

 

하지만 이전에 해야 할 작업이 있습니다. 바로

brew install cask 이걸 사용해서 GUI 애플리케이션을 다운로드할 수 있습니다.

 

https://formulae.brew.sh/cask/visual-studio-code#default

 

visual-studio-code

Homebrew’s package index

formulae.brew.sh

⇧brew install --cask visual-studio-code 

위에 부분을 터미널에 복사 붙여 넣기!


또는 아래 URL로 이동하여 다운!

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


다운로드가 완료되면 터미널에

code

입력하면 visual-studio-code가 실행이 됩니다.


5. vscode 초기 세팅

 

vscode를 제가 기본적으로 세팅한 방법입니다.

command + shift + x (⌘ + ⇧ + X)를 눌러서 마켓플레이스로 입장.

설치하고 재시작합니다.

그다음은 vscode 배경색 설정을 합니다.

  • Material Theme
  • Material Theme High Contrast
  • Material Theme Darker
  • Material Theme Darker High Contrast
  • Material Theme Palenight
  • Material Theme Palenight High Contrast
  • Material Theme Ocean
  • Material Theme Ocean High Contrast
  • Material Theme Lighter
  • Material Theme Lighter High Contrast

밝은 색을 좋아하는 저는 Material Theme Lighter로 설정했습니다. (배경색을 취향 것!! ㅎㅎ)

다은으로 아이콘 설정을 하겠습니다. 위 에랑 마찬가지로 Material Theme Icons으로 ㅎㅎ

아이콘도 마찬가지로 밝은 색으로 선택했습니다. ㅎㅎ

 

이상으로 CodingLog의 우동이였습니다.

이번 시간에는 Homebrew로 node@16, Visual-Studio-Code를 다운로드하는 방법을 배웠는데

다음 시간에는 Node와 Express에 대해서 배우겠습니다.

728x90
반응형

댓글