2015-08-24Install nodejs or iojs via nvm update 2018-05-16: 已經是 async/await 時代了,建議都安裝 node 就好 iojs 已經是過去式。 用 nvm install node install nodejs nvm install node iojs nvm install iojs switch nvm ls to nodejs nvm use node to iojs nvm use iojs keep default version after system reboot # add following to ~/.bash_profile nvm use node