【指导】Install Appium on Ubuntu in command line
来源:互联网 发布:阿里云虚拟机怎么用 编辑:程序博客网 时间:2024/05/29 19:55
1,卸载node和npm,不能用sudo装:
$sudo apt-get remove nodejs
2,安装linuxbrew(没有装ruby的就装一下:$
sudo
apt-get
install
ruby
)$ruby -e "$(wget -O- https://raw.github.com/Homebrew/linuxbrew/go/install)"
3,添加linuxbrew到path
vi ~/.bashrc添加如下几行到末尾:
export PATH="$HOME/.linuxbrew/bin:$PATH"export MANPATH="$HOME/.linuxbrew/share/man:$MANPATH"export INFOPATH="$HOME/.linuxbrew/share/info:$INFOPATH"
让它生效:
$source ~/.bashrc4,安装node(没有装curl的就装一下:$
sudo
apt-get
install
curl)$brew install node5,安装appium
$npm install -g appium
$npm install -g appium --verbose --registry=http://registry.npm.taobao.org #下不下来,就这样修改源6,安装appium client
$npm install wd7,测试appium
$reboot$appium-doctor$appium
参考:http://npm.taobao.org/
2 0
- 【指导】Install Appium on Ubuntu in command line
- One Line Command to Install Adobe Flash Player in Ubuntu
- How to install oracle by Command Line Interface(CLI) in silent mode on Linux
- How to Install Appium on Ubuntu
- Ubuntu wireless network connection in command line
- Working on Command Line
- Using MIT-Scheme in MacOS X on the Command Line
- New in Xdebug 2.2: Colours on the command line
- syntax highlighting in LESS command on Ubuntu
- install sqlplus command-line help
- open in command line
- Ubuntu command line
- Install Lamp With 1 Command In Ubuntu 12.10
- Running a command on every machine in your domain from the command line
- Command Line Arguments in C++
- Linux Command Line in English
- paste in vim command line
- 10 command line in Linux
- 可视化学习之百度echarts工具(2)
- Hibernate无法创建表的原因分析
- NYOJ 325 zb的生日 && NYOJ 456 邮票分你一半
- 改写的两个mysql存储过程,用于判断主键外键
- HDU1598 find the most comfortable road【并查集】
- 【指导】Install Appium on Ubuntu in command line
- iOS SDK基础知识:UITextView & UITextViewDelegate
- apache POI 操作excle表格文件,搬运百度的
- 编译linux内核错误:./scripts/gen_initramfs_list.sh: Cannot open '/usr/share/v86d
- Flume-ng与Mysql整合开发
- 一个import浪费了一下午
- 为什么linux物理内存还有很多,却开始使用swap? NUMA - 罪魁祸首
- PHP file_get_content或者curl不能使用原因
- 总结了两种绘画透明窗体的方法,都有些缺陷,能适用一般情况