1自动配置脚本
bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"
如果错误,跳转2
2 安装cnpm
npm install -g cnpm –registry=https://registry.npm.taobao.org
3 升级Node.js
npm install -g n
n stable
4 手动安装
cd ~/MagicMirror
cnpm install
5 其他参考
http://blog.csdn.net/sunzhemin/article/details/51979967
http://www.cnblogs.com/techdream/p/6288221.html