软连接:$ sudo ln -s /home/user/bin/node-echo.js /usr/local/bin/node-echo
使环境变量的修改立即生效:source ~/.bash_profile
hosts修改:sudo vi /etc/hosts
让node有root权限:
$ sudo chown root /usr/local/bin/node$ sudo chmod +s /usr/local/bin/node
cmd+shift+d = date, cmd+shift+option+d = time
http://support.apple.com/kb/HT1343?viewlocale=zh_CN&locale=zh_CN
文档信息
原文地址:http://blog.csdn.net/cdztop/article/details/31025437