Ubuntu에 Node.js를 설치하고 npm을 최신 버전으로 업데이트하는 방법
apt-package manager를 사용하여 최신 버전의 노드를 설치하려고 하면 v10.19.0이 설치됩니다. 이것은 ubuntu 앱스토어의 최신 버전이지만, NodeJS의 최신 버전은 아닙니다. 새로운 버전의 소프트웨어가 출
www.freecodecamp.org
아래의 명령어를 입력
sudo curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
설치후에 터미널을 재시작 해주고
nvm -v을 입력해서 위의 결과가 나오면은 설치 성공
nvm 사용법은 아래의 링크를 참고
GitHub - nvm-sh/nvm: Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions - nvm-sh/nvm
github.com
'ops > other' 카테고리의 다른 글
[Other] react, springboot cors 에러 해결 (0) | 2024.06.13 |
---|---|
[Other] tomcat과 apache의 차이 (0) | 2024.06.13 |
[Other] node 설치하기 (0) | 2024.06.09 |
[React] redux-sage 설치하기 (0) | 2024.06.09 |
[React] onAfterSetupMiddleware error (0) | 2024.06.09 |