npm 설치 썸네일형 리스트형 [draft] 우분투에 node와 npm을 설치하는 방법 우분투에 Node.js와 npm을 설치하는 방법우분투 리포지토리에 있는 Node.js 패키지를 사용하여 설치할 수 있지만 일반적으로는 Node.js 공식 버전을 설치하는 것이 좋습니다.테스트 환경$ cat /etc/lsb-releaseDISTRIB_ID=UbuntuDISTRIB_RELEASE=22.04DISTRIB_CODENAME=jammyDISTRIB_DESCRIPTION="Ubuntu 22.04.1 LTS"NodeSource를 통해 설치1. NodeSource PPA 추가NodeSource PPA를 추가하고 apt-get update를 자동으로 실행합니다.curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -$ curl -fsSL http.. 더보기 CentOS 7에 Node.js와 npm을 설치하는 방법 CentOS 7에 Node.js와 npm을 설치하는 방법 NodeSource yum 저장소 추가 https://github.com/nodesource/distributions 1. EPEL 저장소 추가 및 curl 패키지 설치 sudo yum install -y epel-release sudo yum install -y curl 2. NodeSource 저장소 추가 curl -fsSL https://rpm.nodesource.com/setup_17.x | sudo bash - $ curl -fsSL https://rpm.nodesource.com/setup_17.x | bash - ## Installing the NodeSource Node.js 17.x repo... ## Inspecting syste.. 더보기 이전 1 다음