appium install in Linux

npm install –g appium 
or
npm --registry http://registry.cnpmjs.org install -g appium (Recommened)

注意:一定不能使用 sudo, 如果你不小心sudo安装成功了,请follow如下步骤:

步骤1. 改变node的所有者
cd /usr/local/lib 
sudo chown -R Michelle node_modules
步骤2. 卸载appium
npm uninstall appium -g
步骤3. 重新安装appium
npm install -g appium
步骤4. 启动
appium &

 nodejs for linux安装

curl -sL https://deb.nodesource.com/setup | sudo bash -
sudo apt-get install -y nodejs

 

http://blog.sina.com.cn/s/blog_680a46cb0102v2hm.html

http://appium.io/getting-started.html

http://blog.csdn.net/gzh0222/article/details/39272785

posted @ 2015-06-01 15:44  米朵  阅读(108)  评论(0)    收藏  举报