hyelie
hyelie
Hyeil Jeong
       
글쓰기    관리    수식입력
  • 전체보기 (495)
    • PS (283)
      • Algorithm (28)
      • PS Log (244)
      • Contest (6)
      • Tips (5)
    • Development (52)
      • Java (14)
      • Spring (23)
      • SQL (2)
      • Node.js (2)
      • Socket.io (3)
      • Study (4)
      • Utils (4)
    • DevOps (36)
      • Git (5)
      • Docker (4)
      • Kubernetes (2)
      • GCP (3)
      • Environment Set Up (8)
      • Tutorial (12)
      • Figma (2)
    • CS (74)
      • OOP (7)
      • OS (24)
      • DB (2)
      • Network (24)
      • Architecture (0)
      • Security (2)
      • Software Design (0)
      • Parallel Computing (15)
    • Project (15)
      • Project N2T (5)
      • Project ASG (0)
      • Project Meerkat (1)
      • Model Checking (7)
      • Ideas (2)
    • 내가 하고싶은 것! (34)
      • Plan (16)
      • Software Maestro (10)
      • 취준 (8)
hELLO · Designed By 정상우.
hyelie

hyelie

DevOps/Environment Set Up

[Node.js Tutorial] Install NVM & typescript-express-starter on Ubuntu

1. NVM 설치

Ubuntu에 Node.js를 설치하기 위해 NVM - node version manager - 를 설치할 것이다.

 

공식 github에서 버전을 확인 한 후, 설치한다.

 

https://github.com/nvm-sh/nvm/#install--update-script

 

아래 명령어들로 설치할 수 있다. 나의 경우, react native와 같이 사용할 것이기 때문에 13.6 버전을 설치했다.

# 버전은 공식 git에서 확인 한 후 변경
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/vx.xx.x/install.sh | bash

source ~/.bashrc

nvm install node  # 최신 버전 설치
nvm install xx.xx # 특정 버전 

# node 설치 확인
node -v

# npm 설치 확인
npm -v

 

 

 

2. typescript + express 설치

기본적으로 node.js의 서버 구성을 만들어 주는 express에서 typescript를 이용할 예정이기 때문에 typescript-express-starter라는 npm을 이용해 시작할 것이다. 설치는 아래 공식 문서의 quick start를 따라가면 된다.

 

https://www.npmjs.com/package/typescript-express-starter

 

typescript-express-starter

Quick and Easy TypeScript Express Starter. Latest version: 9.2.0, last published: 2 months ago. Start using typescript-express-starter in your project by running `npm i typescript-express-starter`. There are no other projects in the npm registry using type

www.npmjs.com

'DevOps > Environment Set Up' 카테고리의 다른 글

[React Native Tutorial] React Native + Expo + Android Emulator on Windows (feat. GCP)  (0) 2022.09.28
[GCP Tutorial] Windows RDP through WEB using guacamole + code-server (feat. GCP)  (0) 2022.09.27
[GCP Tutorial] RDP through HTTPs connection using guacamole (feat. GCP)  (0) 2022.09.04
[Java Tutorial] Ubuntu Java 개발환경 세팅  (0) 2022.08.17
[GCP Tutorial] Window Gaming Server + Graphics Card using RDP (feat. GCP)  (0) 2022.07.22
    hyelie
    hyelie

    티스토리툴바