$ sudo npm cache clean -f # 캐시삭제 $ sudo npm install -g n $ sudo n 6.9.0 # 받을 버전 $ node -v # 버전 확인
$ sudo npm install -g npm $ npm -v # 버전 확인