在 macOS sierra 10.12.3 上安装 appium [英] Installing appium on macOS sierra 10.12.3

查看:40
本文介绍了在 macOS sierra 10.12.3 上安装 appium的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我买了一台新的mac机器,需要从头安装appium.

I bought a new mac machine and need to install appium from scratch.

我刚刚浏览了谷歌的一些文档,但每个网站都有不同的说明.

I just went through few docs from google but each site had different instructions.

能否请您指导我如何安装所有必需的软件以在 Mac 机器上运行 appium?

Can you please guide me through how to install all required software to run appium on Mac machine?

推荐答案

  1. 检查是否安装了java(如果你想使用java作为appium脚本的编程语言)
  2. 您需要模拟器的 xcode 和 ios SDK.从 AppStore 安装最新的 xcode.
  3. 在终端中使用以下命令安装 homebrew.要运行此命令,用户应该是 admin.

  1. Check whether java is installed or not(If you want to use java as programming language for appium scripts).
  2. You need xcode for simulators and ios SDK.Install latest xcode from AppStore.
  3. Install homebrew by using following command in terminal.To run this command user should be admin.

ruby -e "$(curl -fsSL  https://raw.githubusercontent.com/Homebrew/install/master/install)"

  • 在终端中使用以下命令安装 node.js.

  • Install node.js by using the below command in terminal.

    brew install node
    

  • 使用以下命令安装 appium.

  • Install appium by using below command.

    npm install -g appium
    

  • 使用以下命令安装 Carthage.

  • Install Carthage by using below command.

    brew install carthage
    

  • 使用命令安装 xcode 命令行开发工具.

  • Install xcode command line developer tools using the command.

    xcode-select --install
    

  • 这篇关于在 macOS sierra 10.12.3 上安装 appium的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆