steemit super developer @wonsama
nodejs 버전 관리를 위해 필요, 최신 버전은 호환성 문제 때문에 컴파일이 안되는 부분이 많기는 하네요
NVM
nodejs version management)
설치
전역 라이브러리가 설치된 경우 (해당 라이브러리 제거 이후 재설치 필요)
ex) sudo npm uninstall -g @vue/cli @vue/cli-init
- 설치 : curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
~/.profile
같은 파일에 설정 정보가 추가됨- 재시작 : terminal 종료 후 재시작 (변경된 설정 정보 반영을 위함)
명령
nvm install node
- nodejs 최신 버전 설치
nvm install [버전]
- 특정 버전의 nodejs 설치
- ex) nvm install 10.10.0
nvm use node
nvm use [버전]
- 특정 버전의 nodejs로 전환
nvm ls
- 로컬에 설치된 nodejs 버전 목록 확인
nvm ls-remote
- 설치 가능한 nodejs 버전 목록을 확인
- 너무 목록이 많으니깐
nvm ls-remote | grep v10
이런식으로 확인하면 좀 편함
Congratulations @dev.wonsama! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :
You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word
STOP
Vote for @Steemitboard as a witness to get one more award and increased upvotes!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit