Develop/NodeJS 썸네일형 리스트형 Set the global path of Nodejs Set below at the end of .bashrc file # Node global path export NODE_PATH="`npm root -g`:`yarn global dir`/node_modules" 더보기 set default nodejs version on nvm for use - nvm use [version name] set default - nvm alias default [version name] defaults to the latest node version - nvm alias default node run with specific version - nvm exec [version name] node [js file] 더보기 install NVM 기본적으로 아래 github 에서 확인 가능https://github.com/creationix/nvm install script ]$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash OR]$ wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash ]$ source ~/.bashrc install nodejs]$ nvm ls-remote ]$ nvm install [version]]$ nvm use [version] 더보기 이전 1 2 다음