If "node --version" shows the old version then start a new shell,
or reset the location hash with:
노드 버전을 확인했을 때 새로 설치한 버전이 아닌 구 버전으로 확인된다면,
경로 해시가 초기화되지 않았기 때문이다.
아래의 명령어로 경로 해시를 초기화해주면 새로 설치된 버전이 정상적으로 나타난다.hash -r (for bash, zsh, ash, dash, and ksh) rehash (for csh and tcsh)