본문 바로가기

728x90

node install

Ubuntu에 Node.js와 npm을 설치하는 방법 Ubuntu에 Node.js와 npm을 설치하는 방법은 테스트 환경 $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=22.04 DISTRIB_CODENAME=jammy DISTRIB_DESCRIPTION="Ubuntu 22.04.1 LTS" 1. Node.js 설치(Node.js 공식 패키지 추가) Ubuntu 리포지토리에 있는 Node.js 패키지를 사용하여 설치할 수 있지만, 일반적으로는 Node.js 공식 버전을 설치하는 것이 좋습니다. curl -fsSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/nodesource.. 더보기
우분투에서 Node.js와 npm을 설치하는 방법 우분투에서 Node.js와 npm을 설치하는 방법 NVM(Node Version Manager) NPM(Node Package Manager) 테스트 환경 운영체제 버전 정보 $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=22.04 DISTRIB_CODENAME=jammy DISTRIB_DESCRIPTION="Ubuntu 22.04.1 LTS" 1. NVM 설치 NVM 설치 스크립트를 다운로드하고 실행합니다. curl -s -o- https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash $ curl -s -o- https://raw.githubusercontent.com/cr.. 더보기
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.. 더보기

728x90